C# Class Mono.CSharp.VariableInfo

显示文件 Open project: vargaz/mono Class Usage Examples

Public Properties

Property Type Description
IsParameter bool

Public Methods

Method Description
Create ( BlockContext bc, LocalVariable variable ) : VariableInfo
Create ( BlockContext bc, Parameter parameter ) : VariableInfo
GetStructFieldInfo ( string fieldName ) : VariableInfo
IsAssigned ( DefiniteAssignmentBitSet vector ) : bool
IsFullyInitialized ( Mono.CSharp.FlowAnalysisContext fc, Mono.CSharp.Location loc ) : bool
IsStructFieldAssigned ( DefiniteAssignmentBitSet vector, string field_name ) : bool
SetAssigned ( DefiniteAssignmentBitSet vector, bool generatedAssignment ) : void
SetStructFieldAssigned ( DefiniteAssignmentBitSet vector, string field_name ) : void
ToString ( ) : string

Private Methods

Method Description
Initialize ( ) : void
VariableInfo ( VariableInfo parent, TypeInfo type ) : System
VariableInfo ( string name, System.TypeSpec type, int offset, IMemberContext context ) : System

Method Details

Create() public static method

public static Create ( BlockContext bc, LocalVariable variable ) : VariableInfo
bc BlockContext
variable LocalVariable
return VariableInfo

Create() public static method

public static Create ( BlockContext bc, Parameter parameter ) : VariableInfo
bc BlockContext
parameter Parameter
return VariableInfo

GetStructFieldInfo() public method

public GetStructFieldInfo ( string fieldName ) : VariableInfo
fieldName string
return VariableInfo

IsAssigned() public method

public IsAssigned ( DefiniteAssignmentBitSet vector ) : bool
vector DefiniteAssignmentBitSet
return bool

IsFullyInitialized() public method

public IsFullyInitialized ( Mono.CSharp.FlowAnalysisContext fc, Mono.CSharp.Location loc ) : bool
fc Mono.CSharp.FlowAnalysisContext
loc Mono.CSharp.Location
return bool

IsStructFieldAssigned() public method

public IsStructFieldAssigned ( DefiniteAssignmentBitSet vector, string field_name ) : bool
vector DefiniteAssignmentBitSet
field_name string
return bool

SetAssigned() public method

public SetAssigned ( DefiniteAssignmentBitSet vector, bool generatedAssignment ) : void
vector DefiniteAssignmentBitSet
generatedAssignment bool
return void

SetStructFieldAssigned() public method

public SetStructFieldAssigned ( DefiniteAssignmentBitSet vector, string field_name ) : void
vector DefiniteAssignmentBitSet
field_name string
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

IsParameter public_oe property

If this is a parameter of local variable.
public bool IsParameter
return bool