C# Class Boo.Lang.Compiler.CompilerContext

boo compilation context.
Afficher le fichier Open project: boo/boo-lang Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AllocIndex ( ) : int
Résultat int

CompilerContext() public méthode

public CompilerContext ( ) : System
Résultat System

CompilerContext() public méthode

public CompilerContext ( Boo.Lang.Compiler.Ast.CompileUnit unit ) : System
unit Boo.Lang.Compiler.Ast.CompileUnit
Résultat System

CompilerContext() public méthode

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

CompilerContext() public méthode

public CompilerContext ( bool stdlib ) : System
stdlib bool
Résultat System

Run() public méthode

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

this() public méthode

public this ( object key ) : object
key object
Résultat object

Property Details

_assemblyReferences protected_oe property

protected AssemblyCollection,Boo.Lang.Compiler _assemblyReferences
Résultat AssemblyCollection

_errors protected_oe property

protected CompilerErrorCollection,Boo.Lang.Compiler _errors
Résultat Boo.Lang.Compiler.CompilerErrorCollection

_generatedAssembly protected_oe property

protected System.Reflection.Assembly _generatedAssembly
Résultat System.Reflection.Assembly

_generatedAssemblyFileName protected_oe property

protected string _generatedAssemblyFileName
Résultat string

_localIndex protected_oe property

protected int _localIndex
Résultat int

_nameResolutionService protected_oe property

protected NameResolutionService,Boo.Lang.Compiler.TypeSystem _nameResolutionService
Résultat Boo.Lang.Compiler.TypeSystem.NameResolutionService

_parameters protected_oe property

protected CompilerParameters,Boo.Lang.Compiler _parameters
Résultat CompilerParameters

_properties protected_oe property

protected Hash,Boo.Lang _properties
Résultat Boo.Lang.Hash

_traceSwitch protected_oe property

protected TraceSwitch,System.Diagnostics _traceSwitch
Résultat System.Diagnostics.TraceSwitch

_typeSystemServices protected_oe property

protected TypeSystemServices,Boo.Lang.Compiler.TypeSystem _typeSystemServices
Résultat Boo.Lang.Compiler.TypeSystem.TypeSystemServices

_unit protected_oe property

protected CompileUnit,Boo.Lang.Compiler.Ast _unit
Résultat Boo.Lang.Compiler.Ast.CompileUnit

_warnings protected_oe property

protected CompilerWarningCollection,Boo.Lang.Compiler _warnings
Résultat Boo.Lang.Compiler.CompilerWarningCollection