41 class_alias(
'Twig_TokenParserInterface',
'Twig\TokenParser\TokenParserInterface',
false);
42 class_exists(
'Twig_Parser');
43 class_exists(
'Twig_Token');
getTag()
Gets the tag name associated with this token parser.
parse(Twig_Token $token)
Parses a token and returns a node.
Default parser implementation.
setParser(Twig_Parser $parser)
Sets the parser associated with this token parser.
Interface implemented by token parsers.