PHP Class Storm\Core\Object\Expressions\Expression

Author: Elliot Levin ([email protected])
Inheritance: use trait Storm\Core\Helpers\Type
Exibir arquivo Open project: timetoogo/penumbra Class Usage Examples

Public Methods

Method Description
Assign ( PropertyExpression $AssignToValueExpression, $AssignmentOperator, Expression $AssignmentValueExpression ) : AssignmentExpression
BinaryOperation ( Expression $LeftOperandExpression, $Operator, Expression $RightOperandExpression ) : BinaryOperationExpression
Cast ( $CastType, Expression $CastValueExpression ) : CastExpression
Constant ( $Value ) : ConstantExpression
Construct ( $ClassType, array $ArgumentValueExpressions = [] ) : NewExpression
FunctionCall ( $Name, array $ArgumentValueExpressions = [] ) : FunctionCallExpression
MethodCall ( Expression $ObjectExpression, $Name, array $ArgumentValueExpressions = [] ) : MethodCallExpression
NewArray ( array $ValueExpressions ) : ArrayExpression
Object ( $InstanceOrType ) : ObjectExpression
Property ( Storm\Core\Object\IProperty $Property ) : PropertyExpression
PropertyFetch ( Expression $ObjectExpression, $Name ) : PropertyFetchExpression
Ternary ( Expression $ConditionExpression, Expression $IfTrueExpression, Expression $IfFalseExpression ) : TernaryExpression
UnaryOperation ( $UnaryOperator, Expression $OperandExpression ) : UnaryOperationExpression

Method Details

Assign() final public static method

final public static Assign ( PropertyExpression $AssignToValueExpression, $AssignmentOperator, Expression $AssignmentValueExpression ) : AssignmentExpression
$AssignToValueExpression PropertyExpression
$AssignmentValueExpression Expression
return AssignmentExpression

BinaryOperation() final public static method

final public static BinaryOperation ( Expression $LeftOperandExpression, $Operator, Expression $RightOperandExpression ) : BinaryOperationExpression
$LeftOperandExpression Expression
$RightOperandExpression Expression
return BinaryOperationExpression

Cast() final public static method

final public static Cast ( $CastType, Expression $CastValueExpression ) : CastExpression
$CastValueExpression Expression
return CastExpression

Constant() final public static method

final public static Constant ( $Value ) : ConstantExpression
return ConstantExpression

Construct() final public static method

final public static Construct ( $ClassType, array $ArgumentValueExpressions = [] ) : NewExpression
$ArgumentValueExpressions array
return NewExpression

FunctionCall() final public static method

final public static FunctionCall ( $Name, array $ArgumentValueExpressions = [] ) : FunctionCallExpression
$ArgumentValueExpressions array
return FunctionCallExpression

MethodCall() final public static method

final public static MethodCall ( Expression $ObjectExpression, $Name, array $ArgumentValueExpressions = [] ) : MethodCallExpression
$ObjectExpression Expression
$ArgumentValueExpressions array
return MethodCallExpression

NewArray() final public static method

final public static NewArray ( array $ValueExpressions ) : ArrayExpression
$ValueExpressions array
return ArrayExpression

Object() final public static method

final public static Object ( $InstanceOrType ) : ObjectExpression
return ObjectExpression

Property() final public static method

final public static Property ( Storm\Core\Object\IProperty $Property ) : PropertyExpression
$Property Storm\Core\Object\IProperty
return PropertyExpression

PropertyFetch() final public static method

final public static PropertyFetch ( Expression $ObjectExpression, $Name ) : PropertyFetchExpression
$ObjectExpression Expression
return PropertyFetchExpression

Ternary() final public static method

final public static Ternary ( Expression $ConditionExpression, Expression $IfTrueExpression, Expression $IfFalseExpression ) : TernaryExpression
$ConditionExpression Expression
$IfTrueExpression Expression
$IfFalseExpression Expression
return TernaryExpression

UnaryOperation() final public static method

final public static UnaryOperation ( $UnaryOperator, Expression $OperandExpression ) : UnaryOperationExpression
$OperandExpression Expression
return UnaryOperationExpression