|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for SimpleTokenParser:
Collaboration diagram for SimpleTokenParser:Public Member Functions | |
| __construct ($tag, $grammar) | |
| getGrammar () | |
| Gets the grammar as an object or as a string. More... | |
| getTag () | |
| Gets the tag name associated with this token parser. More... | |
| getNode (array $values, $line) | |
| Gets the nodes based on the parsed values. More... | |
Public Member Functions inherited from Twig_Extensions_SimpleTokenParser | |
| 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... | |
| 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 Attributes | |
| $tag | |
| $grammar | |
Protected Attributes inherited from Twig_TokenParser | |
| $parser | |
Additional Inherited Members | |
Static Public Member Functions inherited from Twig_Extensions_SimpleTokenParser | |
| static | parseGrammar ($str, $main=true) |
Protected Member Functions inherited from Twig_Extensions_SimpleTokenParser | |
| 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) | |
Definition at line 12 of file SimpleTokenParser.php.
| SimpleTokenParser::__construct | ( | $tag, | |
| $grammar | |||
| ) |
Definition at line 17 of file SimpleTokenParser.php.
| SimpleTokenParser::getGrammar | ( | ) |
Gets the grammar as an object or as a string.
Reimplemented from Twig_Extensions_SimpleTokenParser.
Definition at line 23 of file SimpleTokenParser.php.
References $grammar.
| SimpleTokenParser::getNode | ( | array | $values, |
| $line | |||
| ) |
Gets the nodes based on the parsed values.
| array | $values | An array of values |
| int | $line | The parser line |
Reimplemented from Twig_Extensions_SimpleTokenParser.
Definition at line 33 of file SimpleTokenParser.php.
| SimpleTokenParser::getTag | ( | ) |
Gets the tag name associated with this token parser.
Implements Twig_TokenParserInterface.
Definition at line 28 of file SimpleTokenParser.php.
References $tag.
|
protected |
Definition at line 15 of file SimpleTokenParser.php.
Referenced by __construct(), and getGrammar().
|
protected |
Definition at line 14 of file SimpleTokenParser.php.
Referenced by __construct(), and getTag().