C# Класс Boo.Lang.Compiler.CompilerContext

boo compilation context.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AllocIndex() публичный метод

public AllocIndex ( ) : int
Результат int

CompilerContext() публичный метод

public CompilerContext ( ) : System
Результат System

CompilerContext() публичный метод

public CompilerContext ( Boo.Lang.Compiler.Ast.CompileUnit unit ) : System
unit Boo.Lang.Compiler.Ast.CompileUnit
Результат System

CompilerContext() публичный метод

public CompilerContext ( CompilerParameters options, Boo.Lang.Compiler.Ast.CompileUnit unit ) : System
options CompilerParameters
unit Boo.Lang.Compiler.Ast.CompileUnit
Результат System

CompilerContext() публичный метод

public CompilerContext ( bool stdlib ) : System
stdlib bool
Результат System

Run() публичный метод

Runs the given action with this context ensuring CompilerContext.Current returns the right context.
public Run ( System action ) : void
action System
Результат void

this() публичный метод

public this ( object key ) : object
key object
Результат object

Описание свойств

_assemblyReferences защищенное свойство

protected AssemblyCollection,Boo.Lang.Compiler _assemblyReferences
Результат AssemblyCollection

_errors защищенное свойство

protected CompilerErrorCollection,Boo.Lang.Compiler _errors
Результат Boo.Lang.Compiler.CompilerErrorCollection

_generatedAssembly защищенное свойство

protected System.Reflection.Assembly _generatedAssembly
Результат System.Reflection.Assembly

_generatedAssemblyFileName защищенное свойство

protected string _generatedAssemblyFileName
Результат string

_localIndex защищенное свойство

protected int _localIndex
Результат int

_nameResolutionService защищенное свойство

protected NameResolutionService,Boo.Lang.Compiler.TypeSystem _nameResolutionService
Результат Boo.Lang.Compiler.TypeSystem.NameResolutionService

_parameters защищенное свойство

protected CompilerParameters,Boo.Lang.Compiler _parameters
Результат CompilerParameters

_properties защищенное свойство

protected Hash,Boo.Lang _properties
Результат Boo.Lang.Hash

_traceSwitch защищенное свойство

protected TraceSwitch,System.Diagnostics _traceSwitch
Результат System.Diagnostics.TraceSwitch

_typeSystemServices защищенное свойство

protected TypeSystemServices,Boo.Lang.Compiler.TypeSystem _typeSystemServices
Результат Boo.Lang.Compiler.TypeSystem.TypeSystemServices

_unit защищенное свойство

protected CompileUnit,Boo.Lang.Compiler.Ast _unit
Результат Boo.Lang.Compiler.Ast.CompileUnit

_warnings защищенное свойство

protected CompilerWarningCollection,Boo.Lang.Compiler _warnings
Результат Boo.Lang.Compiler.CompilerWarningCollection