ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Creates a nested scope. More...
Public Member Functions | |
parse (Twig_Token $token) | |
Parses a token and returns a node. More... | |
decideWithEnd (Twig_Token $token) | |
getTag () | |
Gets the tag name associated with this token parser. More... | |
Public Member Functions inherited from Twig_TokenParser | |
setParser (Twig_Parser $parser) | |
Sets the parser associated with this token parser. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_TokenParser | |
$parser | |
Twig_TokenParser_With::decideWithEnd | ( | Twig_Token | $token | ) |
Definition at line 41 of file With.php.
References Twig_Token\test().
Twig_TokenParser_With::getTag | ( | ) |
Gets the tag name associated with this token parser.
Implements Twig_TokenParserInterface.
Definition at line 46 of file With.php.
Referenced by parse().
Twig_TokenParser_With::parse | ( | Twig_Token | $token | ) |
Parses a token and returns a node.
Twig_Error_Syntax |
Implements Twig_TokenParserInterface.
Definition at line 21 of file With.php.
References GuzzleHttp\Psr7\$stream, array, Twig_Token\BLOCK_END_TYPE, Twig_Token\getLine(), getTag(), and Twig_Token\NAME_TYPE.