|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Twig_Extensions_SimpleTokenParser:
Collaboration diagram for Twig_Extensions_SimpleTokenParser:Public Member Functions | |
| parse (Twig_Token $token) | |
| Parses a token and returns a node. More... | |
Public Member Functions inherited from Twig_TokenParser | |
| setParser (Twig_Parser $parser) | |
| Sets the parser associated with this token parser. More... | |
Public Member Functions inherited from Twig_TokenParserInterface | |
| 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... | |
Static Public Member Functions | |
| static | parseGrammar ($str, $main=true) |
Protected Member Functions | |
| getGrammar () | |
| Gets the grammar as an object or as a string. More... | |
| getNode (array $values, $line) | |
| Gets the nodes based on the parsed values. More... | |
| getAttribute ($node, $attribute, $arguments=array(), $type=Twig_Node_Expression_GetAttr::TYPE_ANY, $line=-1) | |
| call ($node, $attribute, $arguments=array(), $line=-1) | |
| markAsSafe (Twig_Node $node, $line=-1) | |
| output (Twig_Node $node, $line=-1) | |
| getNodeValues (array $values) | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_TokenParser | |
| $parser | |
Definition at line 17 of file SimpleTokenParser.php.
|
protected |
Definition at line 65 of file SimpleTokenParser.php.
References getAttribute().
Here is the call graph for this function:
|
protected |
Definition at line 54 of file SimpleTokenParser.php.
References $type.
Referenced by call().
Here is the caller graph for this function:
|
abstractprotected |
Gets the grammar as an object or as a string.
Reimplemented in SimpleTokenParser.
Referenced by parse().
Here is the caller graph for this function:
|
abstractprotected |
Gets the nodes based on the parsed values.
| array | $values | An array of values |
| int | $line | The parser line |
Reimplemented in SimpleTokenParser.
Referenced by parse().
Here is the caller graph for this function:
|
protected |
Definition at line 85 of file SimpleTokenParser.php.
|
protected |
Definition at line 70 of file SimpleTokenParser.php.
|
protected |
Definition at line 80 of file SimpleTokenParser.php.
| Twig_Extensions_SimpleTokenParser::parse | ( | Twig_Token | $token | ) |
Parses a token and returns a node.
| Twig_Token | $token | A Twig_Token instance |
Implements Twig_TokenParserInterface.
Definition at line 26 of file SimpleTokenParser.php.
References PHPMailer\PHPMailer\$token, $values, getGrammar(), Twig_Token\getLine(), getNode(), and parseGrammar().
Here is the call graph for this function:
|
static |
Definition at line 97 of file SimpleTokenParser.php.
References Twig_Token\PUNCTUATION_TYPE.
Referenced by parse(), Twig_Tests_SimpleTokenParserTest\testParseGrammar(), and Twig_Tests_SimpleTokenParserTest\testParseGrammarExceptions().
Here is the caller graph for this function: