ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Interface implemented by lexer classes. More...
Public Member Functions | |
tokenize ($code, $name=null) | |
Tokenizes a source code. More... | |
Interface implemented by lexer classes.
Definition at line 19 of file LexerInterface.php.
Twig_LexerInterface::tokenize | ( | $code, | |
$name = null |
|||
) |
Tokenizes a source code.
string | Twig_Source | $code | The source code |
string | $name | A unique identifier for the source code |
Twig_Error_Syntax | When the code is syntactically wrong |
Implemented in Twig_Lexer.