Class SymbolRef
This class stores a possible l-value (that is a potential target of an assignment)
Inheritance
System.Object
SymbolRef
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class SymbolRef
Properties
DefaultEnv
Gets the default _ENV.
Declaration
public static SymbolRef DefaultEnv { get; }
Property Value
SymbolRef
|
Environment
Gets the environment this symbol refers to (for global symbols only)
Declaration
public SymbolRef Environment { get; }
Property Value
SymbolRef
|
Index
Gets the index of this symbol in its scope context
Declaration
public int Index { get; }
Property Value
System.Int32
|
Name
Gets the name of this symbol
Declaration
public string Name { get; }
Property Value
System.String
|
Type
Gets the type of this symbol reference
Declaration
public SymbolRefType Type { get; }
Property Value
SymbolRefType
|
Methods
Global(String, SymbolRef)
Creates a new symbol reference pointing to a global var
Declaration
public static SymbolRef Global(string name, SymbolRef envSymbol)
Parameters
System.String
name
The name. |
SymbolRef
envSymbol
The _ENV symbol. |
Returns
SymbolRef
|
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents this instance. |
Overrides
System.Object.ToString()