프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$defaultSyntax | default macro tag syntax | ||
$shortNoEscape | |||
$syntaxes | array |
메소드 | 설명 | |
---|---|---|
getLine ( ) | ||
parse ( $input ) : latte\Token[] |
Process all {macros} and |
|
parseMacroTag ( $tag ) : array | Parses macro tag to name, arguments a modifiers parts. | |
setContentType ( $type ) : static | ||
setContext ( $context, $quote = NULL ) : static | ||
setDelimiters ( $left, $right ) : static | Changes macro tag delimiters. | |
setSyntax ( $type ) : static | Changes macro tag delimiters. |
메소드 | 설명 | |
---|---|---|
filter ( latte\Token $token ) | Process low-level macros. |
메소드 | 설명 | |
---|---|---|
addToken ( $type, $text ) | ||
contextHtmlAttribute ( ) | Handles CONTEXT_HTML_ATTRIBUTE. | |
contextHtmlCData ( ) | Handles CONTEXT_HTML_CDATA. | |
contextHtmlComment ( ) | Handles CONTEXT_HTML_COMMENT. | |
contextHtmlTag ( ) | Handles CONTEXT_HTML_TAG. | |
contextHtmlText ( ) | Handles CONTEXT_HTML_TEXT. | |
contextMacro ( ) | Handles CONTEXT_MACRO. | |
contextNone ( ) | Handles CONTEXT_NONE. | |
match ( $re ) : array | Matches next token. | |
processMacro ( $matches ) |
protected filter ( latte\Token $token ) | ||
$token | latte\Token |
public parseMacroTag ( $tag ) : array | ||
리턴 | array |
public setDelimiters ( $left, $right ) : static | ||
리턴 | static |