Method | Description | |
---|---|---|
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 ) : |
||
ParseNodes ( array $Nodes = null ) : |
||
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; |
public ExpandVariables ( ) |
public GetEntityMap ( ) : Storm\Core\Object\IEntityMap | ||
return | Storm\Core\Object\IEntityMap |
public GetReturnNodes ( ) : Storm\Drivers\Fluent\Object\Functional\INode[] | ||
return | Storm\Drivers\Fluent\Object\Functional\INode[] |
public GetUnresolvedVariables ( ) : array | ||
return | array | The names of the unresolved variables |
public ParseNode ( Storm\Drivers\Fluent\Object\Functional\INode $Node ) : |
||
$Node | Storm\Drivers\Fluent\Object\Functional\INode | |
return |
public ParseNodes ( array $Nodes = null ) : |
||
$Nodes | array | |
return |
public SetEntityMap ( Storm\Core\Object\IEntityMap $EntityMap ) : Storm\Core\Object\IEntityMap | ||
$EntityMap | Storm\Core\Object\IEntityMap | |
return | Storm\Core\Object\IEntityMap |
public Simplify ( ) |