PHP 인터페이스 Storm\Drivers\Fluent\Object\Functional\IAST

파일 보기 프로젝트 열기: timetoogo/penumbra 0 사용 예제들

공개 메소드들

메소드 설명
ExpandVariables ( ) Removes variables from the AST by expanding the node into their original expresions Example: $Var = 2 + 5; $Foo += $Var - 3; -- Becomes -- $Foo += (2 + 5) - 3;
GetEntityMap ( ) : Storm\Core\Object\IEntityMap
GetEntityVariableName ( )
GetPropertyMode ( )
GetReturnNodes ( ) : Storm\Drivers\Fluent\Object\Functional\INode[]
GetUnresolvedVariables ( ) : array
HasEntityMap ( ) : boolean
HasReturnNode ( )
IsResolved ( )
ParseNode ( Storm\Drivers\Fluent\Object\Functional\INode $Node ) : Expression
ParseNodes ( array $Nodes = null ) : Expression[]
Resolve ( array $VariableValueMap )
SetEntityMap ( Storm\Core\Object\IEntityMap $EntityMap ) : Storm\Core\Object\IEntityMap
SetPropertyMode ( $PropertyMode )
Simplify ( ) Simplifies the expression tree where possible Example: 2 + 5; -- Becomes -- 7;

메소드 상세

ExpandVariables() 공개 메소드

Removes variables from the AST by expanding the node into their original expresions Example: $Var = 2 + 5; $Foo += $Var - 3; -- Becomes -- $Foo += (2 + 5) - 3;
public ExpandVariables ( )

GetEntityMap() 공개 메소드

public GetEntityMap ( ) : Storm\Core\Object\IEntityMap
리턴 Storm\Core\Object\IEntityMap

GetEntityVariableName() 공개 메소드

GetPropertyMode() 공개 메소드

public GetPropertyMode ( )

GetReturnNodes() 공개 메소드

public GetReturnNodes ( ) : Storm\Drivers\Fluent\Object\Functional\INode[]
리턴 Storm\Drivers\Fluent\Object\Functional\INode[]

GetUnresolvedVariables() 공개 메소드

public GetUnresolvedVariables ( ) : array
리턴 array The names of the unresolved variables

HasEntityMap() 공개 메소드

public HasEntityMap ( ) : boolean
리턴 boolean

HasReturnNode() 공개 메소드

public HasReturnNode ( )

IsResolved() 공개 메소드

public IsResolved ( )

ParseNode() 공개 메소드

public ParseNode ( Storm\Drivers\Fluent\Object\Functional\INode $Node ) : Expression
$Node Storm\Drivers\Fluent\Object\Functional\INode
리턴 Storm\Core\Object\Expressions\Expression

ParseNodes() 공개 메소드

public ParseNodes ( array $Nodes = null ) : Expression[]
$Nodes array
리턴 Storm\Core\Object\Expressions\Expression[]

Resolve() 공개 메소드

public Resolve ( array $VariableValueMap )
$VariableValueMap array

SetEntityMap() 공개 메소드

public SetEntityMap ( Storm\Core\Object\IEntityMap $EntityMap ) : Storm\Core\Object\IEntityMap
$EntityMap Storm\Core\Object\IEntityMap
리턴 Storm\Core\Object\IEntityMap

SetPropertyMode() 공개 메소드

public SetPropertyMode ( $PropertyMode )

Simplify() 공개 메소드

Simplifies the expression tree where possible Example: 2 + 5; -- Becomes -- 7;
public Simplify ( )