Class Operator
Inheritance
System.Object
Operator
Assembly: Steeltoe.Common.Expression.dll
Syntax
public abstract class Operator : SpelNode, ISpelNode
Constructors
|
Edit this page
View Source
Operator(String, Int32, Int32, SpelNode[])
Declaration
protected Operator(string payload, int startPos, int endPos, params SpelNode[] operands)
Parameters
Type |
Name |
Description |
System.String |
payload |
|
System.Int32 |
startPos |
|
System.Int32 |
endPos |
|
SpelNode[] |
operands |
|
Fields
|
Edit this page
View Source
_equalityCheck
Declaration
protected static readonly MethodInfo _equalityCheck
Field Value
Type |
Description |
MethodInfo |
|
|
Edit this page
View Source
_leftActualDescriptor
Declaration
protected TypeDescriptor _leftActualDescriptor
Field Value
|
Edit this page
View Source
_operatorName
Declaration
protected readonly string _operatorName
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
_rightActualDescriptor
Declaration
protected TypeDescriptor _rightActualDescriptor
Field Value
Properties
|
Edit this page
View Source
LeftOperand
Declaration
public virtual SpelNode LeftOperand { get; }
Property Value
|
Edit this page
View Source
OperatorName
Declaration
public virtual string OperatorName { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
RightOperand
Declaration
public virtual SpelNode RightOperand { get; }
Property Value
Methods
|
Edit this page
View Source
EqualityCheck(IEvaluationContext, Object, Object)
Declaration
public static bool EqualityCheck(IEvaluationContext context, object left, object right)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
System.Object |
left |
|
System.Object |
right |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
GenerateComparisonCode(ILGenerator, CodeFlow, OpCode)
Declaration
protected void GenerateComparisonCode(ILGenerator gen, CodeFlow cf, OpCode brToElseInstruction)
Parameters
Type |
Name |
Description |
ILGenerator |
gen |
|
CodeFlow |
cf |
|
OpCode |
brToElseInstruction |
|
|
Edit this page
View Source
IsCompilableOperatorUsingNumerics()
Declaration
protected virtual bool IsCompilableOperatorUsingNumerics()
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsNumber(Object)
Declaration
public static bool IsNumber(object target)
Parameters
Type |
Name |
Description |
System.Object |
target |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
ToStringAST()
Declaration
public override string ToStringAST()
Returns
Type |
Description |
System.String |
|
Overrides
Implements