Class PropertyOrFieldReference
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class PropertyOrFieldReference : SpelNode, ISpelNode- Inheritance
- 
      
      
      PropertyOrFieldReference
- Implements
- Inherited Members
Constructors
PropertyOrFieldReference(bool, string, int, int)
public PropertyOrFieldReference(bool nullSafe, string propertyOrFieldName, int startPos, int endPos)Parameters
Properties
IsNullSafe
public bool IsNullSafe { get; }Property Value
Name
public string Name { get; }Property Value
Methods
ComputeExitDescriptor(object, Type)
protected TypeDescriptor ComputeExitDescriptor(object result, Type propertyReturnType)Parameters
Returns
GenerateCode(ILGenerator, CodeFlow)
public override void GenerateCode(ILGenerator gen, CodeFlow cf)Parameters
- genILGenerator
- cfCodeFlow
GetValueInternal(ExpressionState)
public override ITypedValue GetValueInternal(ExpressionState state)Parameters
- stateExpressionState
Returns
GetValueRef(ExpressionState)
protected override IValueRef GetValueRef(ExpressionState state)Parameters
- stateExpressionState
Returns
IsCompilable()
public override bool IsCompilable()Returns
IsWritable(ExpressionState)
public override bool IsWritable(ExpressionState state)Parameters
- stateExpressionState
Returns
IsWritableProperty(string, ITypedValue, IEvaluationContext)
public bool IsWritableProperty(string name, ITypedValue contextObject, IEvaluationContext evalContext)Parameters
- namestring
- contextObjectITypedValue
- evalContextIEvaluationContext
Returns
SetExitTypeDescriptor(TypeDescriptor)
protected void SetExitTypeDescriptor(TypeDescriptor descriptor)Parameters
- descriptorTypeDescriptor
SetValue(ExpressionState, object)
public override void SetValue(ExpressionState state, object newValue)Parameters
- stateExpressionState
- newValueobject
ToStringAST()
public override string ToStringAST()