\Twig_Extensions_SimpleTokenParser
Synopsis
class Twig_Extensions_SimpleTokenParser
extends Twig_TokenParser
{
- // Inherited members from Twig_TokenParser
- protected Twig_Parser $parser;
- // methods
- public Twig_NodeInterface parse()
- protected abstract string|Twig_Extensions_Grammar getGrammar()
- protected abstract void getNode()
- protected void getAttribute()
- protected void call()
- protected void markAsSafe()
- protected void output()
- protected void getNodeValues()
- public static void parseGrammar()
- // Inherited methods from Twig_TokenParser
- public void setParser()
Hierarchy
Extends
Members
protected
- $parser — Twig_Parser
Methods
protected
- call()
- getAttribute()
- getGrammar() — Gets the grammar as an object or as a string.
- getNode() — Gets the nodes based on the parsed values.
- getNodeValues()
- markAsSafe()
- output()
public
- parse() — Parses a token and returns a node.
- parseGrammar()
Inherited from Twig_TokenParser
public
- setParser() — Sets the parser associated with this token parser