C# Class Pchp.CodeAnalysis.Semantics.BoundBinaryEx

Mostra file Open project: iolevel/peachpie Class Usage Examples

Private Methods

Method Description
Emit ( CodeGenerator cg ) : TypeSymbol
EmitAdd ( CodeGenerator cg, BoundExpression left, BoundExpression right, TypeSymbol resultTypeOpt = null ) : TypeSymbol

Emits + operator suitable for actual operands.

EmitAdd ( CodeGenerator cg, TypeSymbol xtype, BoundExpression Right, TypeSymbol resultTypeOpt = null ) : TypeSymbol

Emits + operator suitable for actual operands.

EmitBinaryBooleanOperation ( CodeGenerator cg, bool isAnd ) : TypeSymbol

Emits binary boolean operation (AND or OR).

EmitBinaryXor ( CodeGenerator cg ) : TypeSymbol

Emits binary operation XOR.

EmitBitAnd ( CodeGenerator cg, BoundExpression left, BoundExpression right ) : TypeSymbol
EmitBitAnd ( CodeGenerator cg, TypeSymbol xtype, BoundExpression right ) : TypeSymbol
EmitBitOr ( CodeGenerator cg, BoundExpression left, BoundExpression right ) : TypeSymbol
EmitBitOr ( CodeGenerator cg, TypeSymbol xtype, BoundExpression right ) : TypeSymbol
EmitDiv ( CodeGenerator cg, TypeSymbol xtype, BoundExpression right, TypeSymbol resultTypeOpt = null ) : TypeSymbol
EmitDivision ( CodeGenerator cg ) : TypeSymbol

Emits / operator.

EmitEquality ( CodeGenerator cg ) : TypeSymbol

Emits check for values equality. Lefts bool on top of evaluation stack.

EmitEquality ( CodeGenerator cg, BoundExpression left, BoundExpression right ) : TypeSymbol

Emits check for values equality. Lefts bool on top of evaluation stack.

EmitEquality ( CodeGenerator cg, TypeSymbol xtype, BoundExpression right ) : TypeSymbol

Emits check for values equality. Lefts bool on top of evaluation stack.

EmitLtGt ( CodeGenerator cg, TypeSymbol xtype, BoundExpression right, bool lt ) : TypeSymbol

Emits comparison operator pushing bool (i4 of value 0 or 1) onto the evaluation stack.

EmitLtGt ( CodeGenerator cg, bool lt ) : TypeSymbol

Emits comparison operator pushing bool (i4 of value 0 or 1) onto the evaluation stack.

EmitMul ( CodeGenerator cg, TypeSymbol xtype, BoundExpression right, TypeSymbol resultTypeOpt = null ) : TypeSymbol
EmitMultiply ( CodeGenerator cg ) : TypeSymbol

Emits * operation.

EmitPow ( CodeGenerator cg ) : TypeSymbol

Emits pow operator.

EmitPow ( CodeGenerator cg, TypeSymbol xtype, FlowAnalysis xtype_hint, BoundExpression right ) : TypeSymbol
EmitStrictEquality ( CodeGenerator cg ) : TypeSymbol
EmitStrictEquality ( CodeGenerator cg, BoundExpression left, BoundExpression right ) : TypeSymbol
EmitStrictEquality ( CodeGenerator cg, TypeSymbol xtype, BoundExpression right ) : TypeSymbol
EmitSub ( CodeGenerator cg, BoundExpression left, BoundExpression right, TypeSymbol resultTypeOpt = null ) : TypeSymbol

Emits subtraction operator.

EmitSub ( CodeGenerator cg, TypeSymbol xtype, BoundExpression right, TypeSymbol resultTypeOpt = null ) : TypeSymbol

Emits subtraction operator.