class TokenParserTrans extends TransTokenParser

Class TokenParserTrans

Methods

TransNode
parse(Token $token)

Parses a token and returns a node.

bool
decideForFork(Token $token)

Tests the current token for a type.

Details

at line 32
TransNode parse(Token $token)

Parses a token and returns a node.

Parameters

Token $token Twig token to parse

Return Value

TransNode

Exceptions

Twig_Error_Syntax

at line 80
bool decideForFork(Token $token)

Tests the current token for a type.

Parameters

Token $token Twig token to test

Return Value

bool