|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Defines a variable. More...
Inheritance diagram for Twig_TokenParser_Set:
Collaboration diagram for Twig_TokenParser_Set:Public Member Functions | |
| parse (Twig_Token $token) | |
| Parses a token and returns a node. More... | |
| decideBlockEnd (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... | |
| setParser (Twig_Parser $parser) | |
| Sets the parser associated with this token parser. More... | |
| parse (Twig_Token $token) | |
| Parses a token and returns a node. More... | |
| getTag () | |
| Gets the tag name associated with this token parser. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_TokenParser | |
| $parser | |
Defines a variable.
{% set foo = 'foo' %}
{% set foo = [1, 2] %}
{% set foo = {'foo': 'bar'} %}
{% set foo = 'foo' ~ 'bar' %}
{% set foo, bar = 'foo', 'bar' %}
{% set foo %}Some content{% endset %}
@final
| Twig_TokenParser_Set::decideBlockEnd | ( | Twig_Token | $token | ) |
Definition at line 64 of file Set.php.
References Twig_Token\test().
Here is the call graph for this function:| Twig_TokenParser_Set::getTag | ( | ) |
Gets the tag name associated with this token parser.
Implements Twig_TokenParserInterface.
Definition at line 69 of file Set.php.
Referenced by parse().
Here is the caller graph for this function:| Twig_TokenParser_Set::parse | ( | Twig_Token | $token | ) |
Parses a token and returns a node.
| Twig_Error_Syntax |
Implements Twig_TokenParserInterface.
Definition at line 33 of file Set.php.
References $names, GuzzleHttp\Psr7\$stream, Twig_Token\BLOCK_END_TYPE, Twig_Token\getLine(), getTag(), and Twig_Token\OPERATOR_TYPE.
Here is the call graph for this function: