PHP Class Neos\Eel\EelParser

This parser can evaluate the expression language for Flow and uses the basic types from AbstractParser.
Inheritance: extends AbstractParser
Datei anzeigen Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$match_ArrayLiteral_typestack * ArrayLiteral: '[' < Expression? (< ',' > Expression)* > ']'
$match_Comparison_typestack * Comparison: lft:SumCalculation (< comp:/ == | != | <= | >= | < | > / > rgt:SumCalculation)?
$match_ConditionalExpression_typestack * ConditionalExpression: cond:Disjunction (< '?' > then:Expression < ':' > else:Expression)?
$match_Conjunction_typestack * Conjunction: lft:Comparison (< / && | and\s+ / > rgt:Comparison)*
$match_Disjunction_typestack * Disjunction: lft:Conjunction (< / \|\| | or\s+ / > rgt:Conjunction)*
$match_Expression_typestack * Expression: exp:ConditionalExpression
$match_MethodCall_typestack * MethodCall: Identifier '(' < Expression? > (',' < Expression > )* ')'
$match_NotExpression_typestack * NotExpression: (/ ! | not\s+ /) > exp:SimpleExpression
$match_ObjectLiteralProperty_typestack * ObjectLiteralProperty: key:(StringLiteral | Identifier) < ':' > value:Expression
$match_ObjectLiteral_typestack * ObjectLiteral: '{' ObjectLiteralProperty? (< ',' > ObjectLiteralProperty)* > '}'
$match_ObjectPath_typestack * ObjectPath: (MethodCall | Identifier) ('.' (MethodCall | Identifier) | OffsetAccess)*
$match_OffsetAccess_typestack * OffsetAccess: '[' < Expression > ']'
$match_ProdCalculation_typestack * ProdCalculation: lft:SimpleExpression (< op:/ \/ | \* | % / > rgt:SimpleExpression)*
$match_SimpleExpression_typestack * SimpleExpression: term:WrappedExpression | term:NotExpression | term:ArrayLiteral | term:ObjectLiteral | term:Term
$match_SumCalculation_typestack * SumCalculation: lft:ProdCalculation (< op:/ \+ | \- / > rgt:ProdCalculation)*
$match_Term_typestack * Term: term:BooleanLiteral !Identifier | term:NumberLiteral | term:StringLiteral | term:ObjectPath
$match_WrappedExpression_typestack * WrappedExpression: '(' < Expression > ')'

Public Methods

Method Description
match_ArrayLiteral ( $stack = [] )
match_Comparison ( $stack = [] )
match_ConditionalExpression ( $stack = [] )
match_Conjunction ( $stack = [] )
match_Disjunction ( $stack = [] )
match_Expression ( $stack = [] )
match_MethodCall ( $stack = [] )
match_NotExpression ( $stack = [] )
match_ObjectLiteral ( $stack = [] )
match_ObjectLiteralProperty ( $stack = [] )
match_ObjectPath ( $stack = [] )
match_OffsetAccess ( $stack = [] )
match_ProdCalculation ( $stack = [] )
match_SimpleExpression ( $stack = [] )
match_SumCalculation ( $stack = [] )
match_Term ( $stack = [] )
match_WrappedExpression ( $stack = [] )

Method Details

match_ArrayLiteral() public method

public match_ArrayLiteral ( $stack = [] )

match_Comparison() public method

public match_Comparison ( $stack = [] )

match_ConditionalExpression() public method

public match_ConditionalExpression ( $stack = [] )

match_Conjunction() public method

public match_Conjunction ( $stack = [] )

match_Disjunction() public method

public match_Disjunction ( $stack = [] )

match_Expression() public method

public match_Expression ( $stack = [] )

match_MethodCall() public method

public match_MethodCall ( $stack = [] )

match_NotExpression() public method

public match_NotExpression ( $stack = [] )

match_ObjectLiteral() public method

public match_ObjectLiteral ( $stack = [] )

match_ObjectLiteralProperty() public method

public match_ObjectLiteralProperty ( $stack = [] )

match_ObjectPath() public method

public match_ObjectPath ( $stack = [] )

match_OffsetAccess() public method

public match_OffsetAccess ( $stack = [] )

match_ProdCalculation() public method

public match_ProdCalculation ( $stack = [] )

match_SimpleExpression() public method

public match_SimpleExpression ( $stack = [] )

match_SumCalculation() public method

public match_SumCalculation ( $stack = [] )

match_Term() public method

public match_Term ( $stack = [] )

match_WrappedExpression() public method

public match_WrappedExpression ( $stack = [] )

Property Details

$match_ArrayLiteral_typestack protected_oe property

* ArrayLiteral: '[' < Expression? (< ',' > Expression)* > ']'
protected $match_ArrayLiteral_typestack

$match_Comparison_typestack protected_oe property

* Comparison: lft:SumCalculation (< comp:/ == | != | <= | >= | < | > / > rgt:SumCalculation)?
protected $match_Comparison_typestack

$match_ConditionalExpression_typestack protected_oe property

* ConditionalExpression: cond:Disjunction (< '?' > then:Expression < ':' > else:Expression)?
protected $match_ConditionalExpression_typestack

$match_Conjunction_typestack protected_oe property

* Conjunction: lft:Comparison (< / && | and\s+ / > rgt:Comparison)*
protected $match_Conjunction_typestack

$match_Disjunction_typestack protected_oe property

* Disjunction: lft:Conjunction (< / \|\| | or\s+ / > rgt:Conjunction)*
protected $match_Disjunction_typestack

$match_Expression_typestack protected_oe property

* Expression: exp:ConditionalExpression
protected $match_Expression_typestack

$match_MethodCall_typestack protected_oe property

* MethodCall: Identifier '(' < Expression? > (',' < Expression > )* ')'
protected $match_MethodCall_typestack

$match_NotExpression_typestack protected_oe property

* NotExpression: (/ ! | not\s+ /) > exp:SimpleExpression
protected $match_NotExpression_typestack

$match_ObjectLiteralProperty_typestack protected_oe property

* ObjectLiteralProperty: key:(StringLiteral | Identifier) < ':' > value:Expression
protected $match_ObjectLiteralProperty_typestack

$match_ObjectLiteral_typestack protected_oe property

* ObjectLiteral: '{' ObjectLiteralProperty? (< ',' > ObjectLiteralProperty)* > '}'
protected $match_ObjectLiteral_typestack

$match_ObjectPath_typestack protected_oe property

* ObjectPath: (MethodCall | Identifier) ('.' (MethodCall | Identifier) | OffsetAccess)*
protected $match_ObjectPath_typestack

$match_OffsetAccess_typestack protected_oe property

* OffsetAccess: '[' < Expression > ']'
protected $match_OffsetAccess_typestack

$match_ProdCalculation_typestack protected_oe property

* ProdCalculation: lft:SimpleExpression (< op:/ \/ | \* | % / > rgt:SimpleExpression)*
protected $match_ProdCalculation_typestack

$match_SimpleExpression_typestack protected_oe property

* SimpleExpression: term:WrappedExpression | term:NotExpression | term:ArrayLiteral | term:ObjectLiteral | term:Term
protected $match_SimpleExpression_typestack

$match_SumCalculation_typestack protected_oe property

* SumCalculation: lft:ProdCalculation (< op:/ \+ | \- / > rgt:ProdCalculation)*
protected $match_SumCalculation_typestack

$match_Term_typestack protected_oe property

* Term: term:BooleanLiteral !Identifier | term:NumberLiteral | term:StringLiteral | term:ObjectPath
protected $match_Term_typestack

$match_WrappedExpression_typestack protected_oe property

* WrappedExpression: '(' < Expression > ')'
protected $match_WrappedExpression_typestack