|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Loops over each item of a sequence. More...
Inheritance diagram for Twig_TokenParser_For:
Collaboration diagram for Twig_TokenParser_For:Public Member Functions | |
| parse (Twig_Token $token) | |
| Parses a token and returns a node. More... | |
| decideForFork (Twig_Token $token) | |
| decideForEnd (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... | |
Protected Member Functions | |
| checkLoopUsageCondition (Twig_TokenStream $stream, Twig_NodeInterface $node) | |
| checkLoopUsageBody (Twig_TokenStream $stream, Twig_NodeInterface $node) | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_TokenParser | |
| $parser | |
Loops over each item of a sequence.
@final
|
protected |
Definition at line 98 of file For.php.
References $n, GuzzleHttp\Psr7\$stream, checkLoopUsageBody(), and sprintf.
Referenced by checkLoopUsageBody(), and parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 81 of file For.php.
References $n, GuzzleHttp\Psr7\$stream, and checkLoopUsageCondition().
Referenced by checkLoopUsageCondition(), and parse().
Here is the call graph for this function:
Here is the caller graph for this function:| Twig_TokenParser_For::decideForEnd | ( | Twig_Token | $token | ) |
Definition at line 75 of file For.php.
References Twig_Token\test().
Here is the call graph for this function:| Twig_TokenParser_For::decideForFork | ( | Twig_Token | $token | ) |
Definition at line 70 of file For.php.
References Twig_Token\test().
Here is the call graph for this function:| Twig_TokenParser_For::getTag | ( | ) |
Gets the tag name associated with this token parser.
Implements Twig_TokenParserInterface.
Definition at line 121 of file For.php.
Referenced by parse().
Here is the caller graph for this function:| Twig_TokenParser_For::parse | ( | Twig_Token | $token | ) |
Parses a token and returns a node.
| Twig_Error_Syntax |
Implements Twig_TokenParserInterface.
Definition at line 28 of file For.php.
References GuzzleHttp\Psr7\$stream, Twig_Token\BLOCK_END_TYPE, checkLoopUsageBody(), checkLoopUsageCondition(), Twig_Token\getLine(), getTag(), Twig_Token\NAME_TYPE, and Twig_Token\OPERATOR_TYPE.
Here is the call graph for this function: