Class Token
Latte parser token.
- Nette\Object
- Nette\Latte\Token
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
string |
TEXT
|
'text' |
|
string |
MACRO_TAG
|
'macroTag' |
|
string |
HTML_TAG_BEGIN
|
'htmlTagBegin' |
|
string |
HTML_TAG_END
|
'htmlTagEnd' |
|
string |
HTML_ATTRIBUTE
|
'htmlAttribute' |
|
string |
COMMENT
|
'comment' |
public
string
|
$type |
|
#
token type [TEXT | MACRO_TAG | HTML_TAG_BEGIN | HTML_TAG_END | HTML_ATTRIBUTE | COMMENT] |
public
string
|
$text |
|
#
original text content of the token |
public
integer
|
$line |
|
#
line number |
public
string
|
$name |
|
#
name of macro tag, HTML tag or attribute; used for types MACRO_TAG, HTML_TAG_BEGIN, HTML_ATTRIBUTE |
public
string
|
$value |
|
#
value of macro tag or HTML attribute; used for types MACRO_TAG, HTML_ATTRIBUTE |
public
string
|
$modifiers |
|
#
macro modifiers; used for type MACRO_TAG |
public
boolean
|
$closing |
|
#
is closing HTML tag </tag>? used for type HTML_TAG_BEGIN |
public
boolean
|
$empty |
|
#
is tag empty {name/}? used for type MACRO_TAG |
$reflection
|