ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |||
parse (Twig_Token $token) | |||
{Parses a token and returns a node.
| |||
decideForFork (Twig_Token $token) | |||
decideForEnd (Twig_Token $token) | |||
getTag () | |||
{Gets the tag name associated with this token parser.
| |||
Public Member Functions inherited from Twig_TokenParser | |||
setParser (Twig_Parser $parser) | |||
Sets the parser associated with this token parser. More... | |||
Protected Member Functions | |
checkTransString (Twig_Node $body, $lineno) | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_TokenParser | |
$parser | |
|
protected |
Definition at line 72 of file Trans.php.
References $i, and Twig_Node\getNode().
Referenced by parse().
Twig_Extensions_TokenParser_Trans::decideForEnd | ( | Twig_Token | $token | ) |
Definition at line 59 of file Trans.php.
References Twig_Token\test().
Twig_Extensions_TokenParser_Trans::decideForFork | ( | Twig_Token | $token | ) |
Definition at line 54 of file Trans.php.
References array, and Twig_Token\test().
Twig_Extensions_TokenParser_Trans::getTag | ( | ) |
{Gets the tag name associated with this token parser.
Implements Twig_TokenParserInterface.
Definition at line 67 of file Trans.php.
Referenced by parse().
Twig_Extensions_TokenParser_Trans::parse | ( | Twig_Token | $token | ) |
{Parses a token and returns a node.
Twig_Error_Syntax |
Implements Twig_TokenParserInterface.
Definition at line 17 of file Trans.php.
References GuzzleHttp\Psr7\$stream, array, Twig_Token\BLOCK_END_TYPE, checkTransString(), Twig_Token\getLine(), and getTag().