PHP 클래스 Neos\Eel\EelParser

This parser can evaluate the expression language for Flow and uses the basic types from AbstractParser.
상속: extends AbstractParser
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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 > ')'

공개 메소드들

메소드 설명
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 = [] )

메소드 상세

match_ArrayLiteral() 공개 메소드

public match_ArrayLiteral ( $stack = [] )

match_Comparison() 공개 메소드

public match_Comparison ( $stack = [] )

match_ConditionalExpression() 공개 메소드

public match_ConditionalExpression ( $stack = [] )

match_Conjunction() 공개 메소드

public match_Conjunction ( $stack = [] )

match_Disjunction() 공개 메소드

public match_Disjunction ( $stack = [] )

match_Expression() 공개 메소드

public match_Expression ( $stack = [] )

match_MethodCall() 공개 메소드

public match_MethodCall ( $stack = [] )

match_NotExpression() 공개 메소드

public match_NotExpression ( $stack = [] )

match_ObjectLiteral() 공개 메소드

public match_ObjectLiteral ( $stack = [] )

match_ObjectLiteralProperty() 공개 메소드

public match_ObjectLiteralProperty ( $stack = [] )

match_ObjectPath() 공개 메소드

public match_ObjectPath ( $stack = [] )

match_OffsetAccess() 공개 메소드

public match_OffsetAccess ( $stack = [] )

match_ProdCalculation() 공개 메소드

public match_ProdCalculation ( $stack = [] )

match_SimpleExpression() 공개 메소드

public match_SimpleExpression ( $stack = [] )

match_SumCalculation() 공개 메소드

public match_SumCalculation ( $stack = [] )

match_Term() 공개 메소드

public match_Term ( $stack = [] )

match_WrappedExpression() 공개 메소드

public match_WrappedExpression ( $stack = [] )

프로퍼티 상세

$match_ArrayLiteral_typestack 보호되어 있는 프로퍼티

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

$match_Comparison_typestack 보호되어 있는 프로퍼티

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

$match_ConditionalExpression_typestack 보호되어 있는 프로퍼티

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

$match_Conjunction_typestack 보호되어 있는 프로퍼티

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

$match_Disjunction_typestack 보호되어 있는 프로퍼티

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

$match_Expression_typestack 보호되어 있는 프로퍼티

* Expression: exp:ConditionalExpression
protected $match_Expression_typestack

$match_MethodCall_typestack 보호되어 있는 프로퍼티

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

$match_NotExpression_typestack 보호되어 있는 프로퍼티

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

$match_ObjectLiteralProperty_typestack 보호되어 있는 프로퍼티

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

$match_ObjectLiteral_typestack 보호되어 있는 프로퍼티

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

$match_ObjectPath_typestack 보호되어 있는 프로퍼티

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

$match_OffsetAccess_typestack 보호되어 있는 프로퍼티

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

$match_ProdCalculation_typestack 보호되어 있는 프로퍼티

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

$match_SimpleExpression_typestack 보호되어 있는 프로퍼티

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

$match_SumCalculation_typestack 보호되어 있는 프로퍼티

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

$match_Term_typestack 보호되어 있는 프로퍼티

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

$match_WrappedExpression_typestack 보호되어 있는 프로퍼티

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