C# Class Boo.Lang.Compiler.CompilerContext

boo compilation context.
Datei anzeigen Open project: boo/boo-lang Class Usage Examples

Protected Properties

Property Type Description
_assemblyReferences AssemblyCollection
_errors Boo.Lang.Compiler.CompilerErrorCollection
_generatedAssembly System.Reflection.Assembly
_generatedAssemblyFileName string
_localIndex int
_nameResolutionService Boo.Lang.Compiler.TypeSystem.NameResolutionService
_parameters CompilerParameters
_properties Boo.Lang.Hash
_traceSwitch System.Diagnostics.TraceSwitch
_typeSystemServices Boo.Lang.Compiler.TypeSystem.TypeSystemServices
_unit Boo.Lang.Compiler.Ast.CompileUnit
_warnings Boo.Lang.Compiler.CompilerWarningCollection

Public Methods

Method Description
AllocIndex ( ) : int
CompilerContext ( ) : System
CompilerContext ( Boo.Lang.Compiler.Ast.CompileUnit unit ) : System
CompilerContext ( CompilerParameters options, Boo.Lang.Compiler.Ast.CompileUnit unit ) : System
CompilerContext ( bool stdlib ) : System
Run ( System action ) : void

Runs the given action with this context ensuring CompilerContext.Current returns the right context.

this ( object key ) : object

Private Methods

Method Description
CurrentVariable ( ) : DynamicVariable
TraceEnter ( string format, object param ) : void
TraceError ( Exception x ) : void
TraceError ( string message ) : void
TraceInfo ( string format ) : void
TraceLeave ( string format, object param ) : void
TraceVerbose ( string format ) : void
TraceVerbose ( string format, object param ) : void
TraceVerbose ( string format, object param1, object param2 ) : void
TraceVerbose ( string format, object param1, object param2, object param3 ) : void
TraceWarning ( string message ) : void

Method Details

AllocIndex() public method

public AllocIndex ( ) : int
return int

CompilerContext() public method

public CompilerContext ( ) : System
return System

CompilerContext() public method

public CompilerContext ( Boo.Lang.Compiler.Ast.CompileUnit unit ) : System
unit Boo.Lang.Compiler.Ast.CompileUnit
return System

CompilerContext() public method

public CompilerContext ( CompilerParameters options, Boo.Lang.Compiler.Ast.CompileUnit unit ) : System
options CompilerParameters
unit Boo.Lang.Compiler.Ast.CompileUnit
return System

CompilerContext() public method

public CompilerContext ( bool stdlib ) : System
stdlib bool
return System

Run() public method

Runs the given action with this context ensuring CompilerContext.Current returns the right context.
public Run ( System action ) : void
action System
return void

this() public method

public this ( object key ) : object
key object
return object

Property Details

_assemblyReferences protected_oe property

protected AssemblyCollection,Boo.Lang.Compiler _assemblyReferences
return AssemblyCollection

_errors protected_oe property

protected CompilerErrorCollection,Boo.Lang.Compiler _errors
return Boo.Lang.Compiler.CompilerErrorCollection

_generatedAssembly protected_oe property

protected System.Reflection.Assembly _generatedAssembly
return System.Reflection.Assembly

_generatedAssemblyFileName protected_oe property

protected string _generatedAssemblyFileName
return string

_localIndex protected_oe property

protected int _localIndex
return int

_nameResolutionService protected_oe property

protected NameResolutionService,Boo.Lang.Compiler.TypeSystem _nameResolutionService
return Boo.Lang.Compiler.TypeSystem.NameResolutionService

_parameters protected_oe property

protected CompilerParameters,Boo.Lang.Compiler _parameters
return CompilerParameters

_properties protected_oe property

protected Hash,Boo.Lang _properties
return Boo.Lang.Hash

_traceSwitch protected_oe property

protected TraceSwitch,System.Diagnostics _traceSwitch
return System.Diagnostics.TraceSwitch

_typeSystemServices protected_oe property

protected TypeSystemServices,Boo.Lang.Compiler.TypeSystem _typeSystemServices
return Boo.Lang.Compiler.TypeSystem.TypeSystemServices

_unit protected_oe property

protected CompileUnit,Boo.Lang.Compiler.Ast _unit
return Boo.Lang.Compiler.Ast.CompileUnit

_warnings protected_oe property

protected CompilerWarningCollection,Boo.Lang.Compiler _warnings
return Boo.Lang.Compiler.CompilerWarningCollection