class lexer extends Twig_Lexer
Methods
set_environment(Twig_Environment $env)
|
||
tokenize($code, $filename = null)
|
||
string |
fix_begin_tokens(string $code, array $parent_nodes = array())
Fix begin tokens (convert our BEGIN to Twig for) |
Details
at line 18
public
set_environment(Twig_Environment $env)
at line 23
public
tokenize($code, $filename = null)
at line 206
public string
fix_begin_tokens(string $code, array $parent_nodes = array())
Fix begin tokens (convert our BEGIN to Twig for)
Not meant to be used outside of this context, public because the anonymous function calls this