Represents a local variable; One defined within the body of a method.
Public Member Functions | |
LocalVariable (string name, Type type) | |
Creates a new named LocalVarable. More... | |
override Type | Type () |
The type of the value that this variable holds. Note: This is not related to VariableType. More... | |
override void | OutputSet (NitroIL into, Type setting) |
Outputs this variable to write its content. More... | |
override void | OutputIL (NitroIL into, bool accessingMember) |
Outputs this variable into IL. More... | |
Public Member Functions inherited from Nitro.Variable | |
Variable (string name) | |
Creates a new variable with the given name. More... | |
virtual bool | OutputTarget (NitroIL into) |
Used with OutputSet, this outputs any additional information that 'targets' where this variable is located. More... | |
bool | Equals (Variable other) |
Checks if two variables are equal to each other. More... | |
Public Attributes | |
LocalBuilder | Builder |
The builder that will later be used to compiled this to IL. More... | |
Public Attributes inherited from Nitro.Variable | |
string | Name |
The name of the variable. More... | |
Private Attributes | |
Type | VariableType |
A type if any of this variable. More... | |
|
inline |
Creates a new named LocalVarable.
name | The name of the variable. |
type | The optional type of this variable. |
|
inlinevirtual |
Outputs this variable into IL.
into | The IL stream to output it into. |
accessingMember | True if we are accessing a field/method of this variable. |
Reimplemented from Nitro.Variable.
Outputs this variable to write its content.
into | The IL stream a set should be put into. |
setting | The type being set to this variable. |
Reimplemented from Nitro.Variable.
|
inlinevirtual |
The type of the value that this variable holds. Note: This is not related to VariableType.
Reimplemented from Nitro.Variable.
LocalBuilder Nitro.LocalVariable.Builder |
The builder that will later be used to compiled this to IL.
|
private |
A type if any of this variable.