C# 클래스 Boo.Lang.Compiler.CompilerContext

boo compilation context.
파일 보기 프로젝트 열기: boo/boo-lang 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_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