PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Parses expressions. More...
Public Member Functions | |
__construct (Twig_Parser $parser, array $unaryOperators, array $binaryOperators) | |
parseExpression ($precedence=0) | |
parsePrimaryExpression () | |
parseStringExpression () | |
parseArrayExpression () | |
parseHashExpression () | |
parsePostfixExpression ($node) | |
getFunctionNode ($name, $line) | |
parseSubscriptExpression ($node) | |
parseFilterExpression ($node) | |
parseFilterExpressionRaw ($node, $tag=null) | |
parseArguments ($namedArguments=false, $definition=false) | |
Parses arguments. More... | |
parseAssignmentExpression () | |
parseMultitargetExpression () | |
Data Fields | |
const | OPERATOR_LEFT = 1 |
const | OPERATOR_RIGHT = 2 |
Protected Member Functions | |
getPrimary () | |
parseConditionalExpression ($expr) | |
isUnary (Twig_Token $token) | |
isBinary (Twig_Token $token) | |
getFunctionNodeClass ($name, $line) | |
getFilterNodeClass ($name, $line) | |
checkConstantExpression (Twig_NodeInterface $node) | |
Protected Attributes | |
$parser | |
$unaryOperators | |
$binaryOperators | |
Parses expressions.
This parser implements a "Precedence climbing" algorithm.
Definition at line 23 of file ExpressionParser.php.
__construct | ( | Twig_Parser | $parser, |
array | $unaryOperators, | ||
array | $binaryOperators | ||
) |
Definition at line 32 of file ExpressionParser.php.
|
protected |
Definition at line 586 of file ExpressionParser.php.
|
protected |
Definition at line 565 of file ExpressionParser.php.
getFunctionNode | ( | $name, | |
$line | |||
) |
Definition at line 297 of file ExpressionParser.php.
|
protected |
Definition at line 545 of file ExpressionParser.php.
|
protected |
Definition at line 65 of file ExpressionParser.php.
|
protected |
Definition at line 116 of file ExpressionParser.php.
|
protected |
Definition at line 111 of file ExpressionParser.php.
parseArguments | ( | $namedArguments = false , |
|
$definition = false |
|||
) |
Parses arguments.
Boolean | $namedArguments | Whether to allow named arguments or not |
Boolean | $definition | Whether we are parsing arguments for a function definition |
Definition at line 456 of file ExpressionParser.php.
parseArrayExpression | ( | ) |
Definition at line 207 of file ExpressionParser.php.
parseAssignmentExpression | ( | ) |
Definition at line 512 of file ExpressionParser.php.
|
protected |
Definition at line 87 of file ExpressionParser.php.
parseExpression | ( | $precedence = 0 | ) |
Definition at line 39 of file ExpressionParser.php.
parseFilterExpression | ( | $node | ) |
Definition at line 417 of file ExpressionParser.php.
parseFilterExpressionRaw | ( | $node, | |
$tag = null |
|||
) |
Definition at line 424 of file ExpressionParser.php.
parseHashExpression | ( | ) |
Definition at line 232 of file ExpressionParser.php.
parseMultitargetExpression | ( | ) |
Definition at line 531 of file ExpressionParser.php.
parsePostfixExpression | ( | $node | ) |
Definition at line 277 of file ExpressionParser.php.
parsePrimaryExpression | ( | ) |
Definition at line 121 of file ExpressionParser.php.
parseStringExpression | ( | ) |
Definition at line 177 of file ExpressionParser.php.
parseSubscriptExpression | ( | $node | ) |
Definition at line 340 of file ExpressionParser.php.
|
protected |
Definition at line 30 of file ExpressionParser.php.
|
protected |
Definition at line 28 of file ExpressionParser.php.
|
protected |
Definition at line 29 of file ExpressionParser.php.
const OPERATOR_LEFT = 1 |
Definition at line 25 of file ExpressionParser.php.
const OPERATOR_RIGHT = 2 |
Definition at line 26 of file ExpressionParser.php.
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:44 - is a product of SAS. All rights reserved.