Class SpelNode
Inheritance
System.Object
SpelNode
Assembly: Steeltoe.Common.Expression.dll
Syntax
public abstract class SpelNode : object, ISpelNode
Constructors
|
Edit this page
View Source
SpelNode(Int32, Int32, SpelNode[])
Declaration
protected SpelNode(int startPos, int endPos, params SpelNode[] operands)
Parameters
Type |
Name |
Description |
System.Int32 |
startPos |
|
System.Int32 |
endPos |
|
SpelNode[] |
operands |
|
Fields
|
Edit this page
View Source
_children
Declaration
protected SpelNode[] _children
Field Value
|
Edit this page
View Source
_exitTypeDescriptor
Declaration
protected volatile TypeDescriptor _exitTypeDescriptor
Field Value
Properties
|
Edit this page
View Source
ChildCount
Declaration
public virtual int ChildCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
EndPosition
Declaration
public virtual int EndPosition { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
ExitDescriptor
Declaration
public virtual TypeDescriptor ExitDescriptor { get; }
Property Value
|
Edit this page
View Source
StartPosition
Declaration
public virtual int StartPosition { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Edit this page
View Source
GenerateCode(ILGenerator, CodeFlow)
Declaration
public virtual void GenerateCode(ILGenerator gen, CodeFlow cf)
Parameters
Type |
Name |
Description |
ILGenerator |
gen |
|
CodeFlow |
cf |
|
|
Edit this page
View Source
GenerateCodeForArgument(ILGenerator, CodeFlow, SpelNode, TypeDescriptor)
Declaration
protected static void GenerateCodeForArgument(ILGenerator gen, CodeFlow cf, SpelNode argument, TypeDescriptor paramDesc)
Parameters
|
Edit this page
View Source
GenerateCodeForArguments(ILGenerator, CodeFlow, MethodBase, SpelNode[])
Declaration
protected static void GenerateCodeForArguments(ILGenerator gen, CodeFlow cf, MethodBase member, SpelNode[] arguments)
Parameters
Type |
Name |
Description |
ILGenerator |
gen |
|
CodeFlow |
cf |
|
MethodBase |
member |
|
SpelNode[] |
arguments |
|
|
Edit this page
View Source
GetChild(Int32)
Declaration
public virtual ISpelNode GetChild(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
|
Edit this page
View Source
GetLdElemInsn(Type)
Declaration
protected static OpCode GetLdElemInsn(Type arrElemType)
Parameters
Type |
Name |
Description |
Type |
arrElemType |
|
Returns
|
Edit this page
View Source
GetObjectType(Object)
Declaration
public virtual Type GetObjectType(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
|
Edit this page
View Source
GetStelemInsn(Type)
Declaration
protected static OpCode GetStelemInsn(Type arrElemType)
Parameters
Type |
Name |
Description |
Type |
arrElemType |
|
Returns
|
Edit this page
View Source
GetTypedValue(ExpressionState)
Declaration
public virtual ITypedValue GetTypedValue(ExpressionState state)
Parameters
Returns
Type |
Description |
ITypedValue |
|
|
Edit this page
View Source
GetValue(ExpressionState)
Declaration
public virtual object GetValue(ExpressionState state)
Parameters
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue(ExpressionState, Type)
Declaration
protected virtual object GetValue(ExpressionState state, Type desiredReturnType)
Parameters
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue<T>(ExpressionState)
Declaration
protected virtual T GetValue<T>(ExpressionState state)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
GetValueInternal(ExpressionState)
Declaration
public abstract ITypedValue GetValueInternal(ExpressionState state)
Parameters
Returns
Type |
Description |
ITypedValue |
|
|
Edit this page
View Source
GetValueRef(ExpressionState)
Declaration
protected virtual IValueRef GetValueRef(ExpressionState state)
Parameters
Returns
|
Edit this page
View Source
IsCompilable()
Declaration
public virtual bool IsCompilable()
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsWritable(ExpressionState)
Declaration
public virtual bool IsWritable(ExpressionState state)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
NextChildIs(Type[])
Declaration
protected virtual bool NextChildIs(params Type[] classes)
Parameters
Type |
Name |
Description |
Type[] |
classes |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
SetValue(ExpressionState, Object)
Declaration
public virtual void SetValue(ExpressionState state, object newValue)
Parameters
|
Edit this page
View Source
ToStringAST()
Declaration
public abstract string ToStringAST()
Returns
Type |
Description |
System.String |
|
Implements