abstract |
---|
Abstract base token class that all others inherit from.
Methods | ||
---|---|---|
public
|
__get(string $n): null|string
|
# |
public
|
position(int $l = null, int $c = null)
Sets the position of the token in the source document.
Sets the position of the token in the source document. |
# |
public
|
rawPosition(int $l, int $c)
Convenience function for DirectLex settings line/col position.
Convenience function for DirectLex settings line/col position. |
# |
abstract
public
|
toNode()
Converts a token into its corresponding node.
Converts a token into its corresponding node. Implemented by |
# |
Properties | |||
---|---|---|---|
public
|
|
$line
Line number node was on in source document. Null if unknown.
Line number node was on in source document. Null if unknown. |
# |
public
|
|
$col
Column of line node was on in source document. Null if unknown.
Column of line node was on in source document. Null if unknown. |
# |
public
|
|
$armor = []
Lookup array of processing that this token is exempt from.
Currently, valid values are "ValidateAttributes" and
…
Lookup array of processing that this token is exempt from. Currently, valid values are "ValidateAttributes" and "MakeWellFormed_TagClosedError" |
# |
public
|
|
$skip
Used during MakeWellFormed. See Note [Injector skips]
Used during MakeWellFormed. See Note [Injector skips] |
# |
public
|
|
$rewind
|
# |
public
|
|
$carryover
|
# |