Class Operator
public abstract class Operator : SpelNode, ISpelNode
- Inheritance
-
Operator
- Implements
- Derived
- Inherited Members
Constructors
Operator(string, int, int, params SpelNode[])
protected Operator(string payload, int startPos, int endPos, params SpelNode[] operands)
Parameters
Fields
_equalityCheck
protected static readonly MethodInfo _equalityCheck
Field Value
_leftActualDescriptor
protected TypeDescriptor _leftActualDescriptor
Field Value
_operatorName
protected readonly string _operatorName
Field Value
_rightActualDescriptor
protected TypeDescriptor _rightActualDescriptor
Field Value
Properties
LeftOperand
public virtual SpelNode LeftOperand { get; }
Property Value
OperatorName
public virtual string OperatorName { get; }
Property Value
RightOperand
public virtual SpelNode RightOperand { get; }
Property Value
Methods
EqualityCheck(IEvaluationContext, object, object)
public static bool EqualityCheck(IEvaluationContext context, object left, object right)
Parameters
context
IEvaluationContextleft
objectright
object
Returns
GenerateComparisonCode(ILGenerator, CodeFlow, OpCode)
protected void GenerateComparisonCode(ILGenerator gen, CodeFlow cf, OpCode brToElseInstruction)
Parameters
gen
ILGeneratorcf
CodeFlowbrToElseInstruction
OpCode
IsCompilableOperatorUsingNumerics()
protected virtual bool IsCompilableOperatorUsingNumerics()
Returns
IsNumber(object)
public static bool IsNumber(object target)
Parameters
target
object
Returns
ToStringAST()
public override string ToStringAST()