ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct () | |
__toString () | |
addGrammar (Twig_Extensions_GrammarInterface $grammar) | |
parse (Twig_Token $token) | |
Public Member Functions inherited from Twig_Extensions_Grammar | |
__construct ($name) | |
setParser (Twig_Parser $parser) | |
getName () | |
Protected Attributes | |
$grammar | |
Protected Attributes inherited from Twig_Extensions_Grammar | |
$name | |
$parser | |
Definition at line 15 of file Optional.php.
Twig_Extensions_Grammar_Optional::__construct | ( | ) |
Definition at line 19 of file Optional.php.
References $grammar, and addGrammar().
Twig_Extensions_Grammar_Optional::__toString | ( | ) |
Twig_Extensions_Grammar_Optional::addGrammar | ( | Twig_Extensions_GrammarInterface | $grammar | ) |
Definition at line 37 of file Optional.php.
References $grammar.
Referenced by __construct().
Twig_Extensions_Grammar_Optional::parse | ( | Twig_Token | $token | ) |
Implements Twig_Extensions_GrammarInterface.
Definition at line 42 of file Optional.php.
References $grammar, Twig_Token\BLOCK_END_TYPE, Twig_Extensions_Grammar\getName(), and Twig_Token\NAME_TYPE.
|
protected |
Definition at line 17 of file Optional.php.
Referenced by __construct(), __toString(), addGrammar(), and parse().