Nitro.ParameterVariable Class Reference

Detailed Description

Represents a parameter variable; A value that is received in a method as a parameter. methodName(param1,param2){.

Inheritance diagram for Nitro.ParameterVariable:
Nitro.Variable Nitro.ISettable

Public Member Functions

 ParameterVariable (string name, Type type)
 Creates a new named ParameterVarable. 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

Type ParameterType
 The type of this parameters value. More...
 
ParameterBuilder Builder
 The builder that will later be used to compile this to IL. Set by a CompiledMethod. More...
 
- Public Attributes inherited from Nitro.Variable
string Name
 The name of the variable. More...
 

Constructor & Destructor Documentation

Nitro.ParameterVariable.ParameterVariable ( string  name,
Type  type 
)
inline

Creates a new named ParameterVarable.

Parameters
nameThe name of the variable.
typeThe type of the value in this parameter.

Member Function Documentation

override void Nitro.ParameterVariable.OutputIL ( NitroIL  into,
bool  accessingMember 
)
inlinevirtual

Outputs this variable into IL.

Parameters
intoThe IL stream to output it into.
accessingMemberTrue if we are accessing a field/method of this variable.

Reimplemented from Nitro.Variable.

override void Nitro.ParameterVariable.OutputSet ( NitroIL  into,
Type  setting 
)
inlinevirtual

Outputs this variable to write its content.

Parameters
intoThe IL stream a set should be put into.
settingThe type being set to this variable.

Reimplemented from Nitro.Variable.

override Type Nitro.ParameterVariable.Type ( )
inlinevirtual

The type of the value that this variable holds. Note: This is not related to VariableType.

Returns
The type of the value.

Reimplemented from Nitro.Variable.

Member Data Documentation

ParameterBuilder Nitro.ParameterVariable.Builder

The builder that will later be used to compile this to IL. Set by a CompiledMethod.

Type Nitro.ParameterVariable.ParameterType

The type of this parameters value.