Class PropertyOrFieldReference
Inheritance
System.Object
PropertyOrFieldReference
Assembly: Steeltoe.Common.Expression.dll
Syntax
public class PropertyOrFieldReference : SpelNode, ISpelNode
Constructors
|
Edit this page
View Source
PropertyOrFieldReference(Boolean, String, Int32, Int32)
Declaration
public PropertyOrFieldReference(bool nullSafe, string propertyOrFieldName, int startPos, int endPos)
Parameters
Type |
Name |
Description |
System.Boolean |
nullSafe |
|
System.String |
propertyOrFieldName |
|
System.Int32 |
startPos |
|
System.Int32 |
endPos |
|
Properties
|
Edit this page
View Source
IsNullSafe
Declaration
public bool IsNullSafe { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
ComputeExitDescriptor(Object, Type)
Declaration
protected TypeDescriptor ComputeExitDescriptor(object result, Type propertyReturnType)
Parameters
Type |
Name |
Description |
System.Object |
result |
|
Type |
propertyReturnType |
|
Returns
|
Edit this page
View Source
GenerateCode(ILGenerator, CodeFlow)
Declaration
public override void GenerateCode(ILGenerator gen, CodeFlow cf)
Parameters
Type |
Name |
Description |
ILGenerator |
gen |
|
CodeFlow |
cf |
|
Overrides
|
Edit this page
View Source
GetValueInternal(ExpressionState)
Declaration
public override ITypedValue GetValueInternal(ExpressionState state)
Parameters
Returns
Type |
Description |
ITypedValue |
|
Overrides
|
Edit this page
View Source
GetValueRef(ExpressionState)
Declaration
protected override IValueRef GetValueRef(ExpressionState state)
Parameters
Returns
Overrides
|
Edit this page
View Source
IsCompilable()
Declaration
public override bool IsCompilable()
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Edit this page
View Source
IsWritable(ExpressionState)
Declaration
public override bool IsWritable(ExpressionState state)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Edit this page
View Source
IsWritableProperty(String, ITypedValue, IEvaluationContext)
Declaration
public bool IsWritableProperty(string name, ITypedValue contextObject, IEvaluationContext evalContext)
Parameters
Type |
Name |
Description |
System.String |
name |
|
ITypedValue |
contextObject |
|
IEvaluationContext |
evalContext |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
SetExitTypeDescriptor(TypeDescriptor)
Declaration
protected void SetExitTypeDescriptor(TypeDescriptor descriptor)
Parameters
|
Edit this page
View Source
SetValue(ExpressionState, Object)
Declaration
public override void SetValue(ExpressionState state, object newValue)
Parameters
Overrides
|
Edit this page
View Source
ToStringAST()
Declaration
public override string ToStringAST()
Returns
Type |
Description |
System.String |
|
Overrides
Implements