C# Class clojure.lang.Compiler

Mostra file Open project: clojure/clojure-clr

Public Properties

Property Type Description
AmpersandSym Symbol
AssignSym Symbol
CaseSym Symbol
CatchSym Symbol
ColumnVar Var
CompilePathVar Var
CompileVar Var
DefSym Symbol
DeftypeSym Symbol
DoSym Symbol
DotSym Symbol
FinallySym Symbol
IdentitySym Symbol
IfSym Symbol
ImportSym Symbol
LetSym Symbol
LetfnSym Symbol
LineVar Var
LocalEnvVar Var
LoopSym Symbol
MonitorEnterSym Symbol
MonitorExitSym Symbol
NewSym Symbol
QuoteSym Symbol
RecurSym Symbol
ReifySym Symbol
SourceSpanVar Var
TheVarSym Symbol
ThisSym Symbol
ThrowSym Symbol
TrySym Symbol

Private Properties

Property Type Description
Analyze clojure.lang.CljCompiler.Ast.Expr
AnalyzeSeq clojure.lang.CljCompiler.Ast.Expr
AnalyzeSymbol clojure.lang.CljCompiler.Ast.Expr
CloseOver void
ColumnVarDeref int
Compile object
Compile1 void
Compiler System
ConsumeWhitespaces void
CreateDemungeMap IPersistentMap
CreateDemungePattern System.Text.RegularExpressions.Regex
CreateEvalContext clojure.lang.CljCompiler.Ast.GenContext
CreateObjectTypeArray System.Type[]
EmptyVarCallSites IPersistentCollection
FindDuplicateType System.Type
GetAndIncLocalNum int
GetLocation bool
GetSpecialFormParser IParser
GetTypeFromAssy System.Type
GetTypes System.Type[]
InTailCall bool
InitAssembly void
InitClassName string
InitializeCompilerOptions void
InvokeInitType void
IsInline IFn
IsMacro Var
LineVarDeref int
LoadAssembly void
LoadAssembly void
LookupVar Var
LookupVar Var
Macroexpand object
MacroexpandSeq1 object
MaybeClrType System.Type
MaybePrimitiveType System.Type
MaybeTransferSourceInfo object
NamesStaticMember bool
OptionallyGenerateMetaInit clojure.lang.CljCompiler.Ast.Expr
PreserveTag object
ReaderOpts Object
ReferenceLocal clojure.lang.CljCompiler.Ast.LocalBinding
RegisterConstant int
RegisterDuplicateType void
RegisterKeyword clojure.lang.CljCompiler.Ast.KeywordExpr
RegisterKeywordCallsite int
RegisterLocal LocalBinding
RegisterLocal LocalBinding
RegisterLocalInternal LocalBinding
RegisterLocalThis LocalBinding
RegisterProtocolCallsite int
RegisterVarCallsite void
ResolveIn object
TagOf Symbol
TagType Type
TryLoadInitType bool
demunge String
eval object
load object
load object
load object
loadFile object
macroexpand1 object
maybeResolveIn object
munge string
namespaceFor Namespace
namespaceFor Namespace
resolveSymbol Symbol

Public Methods

Method Description
Analyze ( ParserContext pcontext, object form ) : clojure.lang.CljCompiler.Ast.Expr
Compile ( TextReader rdr, string sourceDirectory, string sourceName, string relativePath ) : object
ElideMeta ( object m ) : object
GetColumnFromSpanMap ( IPersistentMap spanMap ) : int
GetCompilerOption ( Keyword k ) : object
GetLineFromSpanMap ( IPersistentMap spanMap ) : int
GetLocations ( IPersistentMap spanMap, int &startLine, int &startCol, int &finishLine, int &finishCol ) : bool
Inty ( Type t ) : bool
IsCompilingSuffix ( ) : string
IsSpecial ( Object sym ) : bool
PrimType ( Symbol sym ) : Type
PrimType ( Type t ) : Type
PushNS ( ) : void
RegisterVar ( Var v ) : void
Resolve ( Symbol symbol ) : object
Resolve ( Symbol symbol, bool allowPrivate ) : object
RetType ( Type tc, Type ret ) : Type
SaveEvalContext ( ) : void

Private Methods

Method Description
Analyze ( ParserContext pcontext, object form, string name ) : clojure.lang.CljCompiler.Ast.Expr
AnalyzeSeq ( ParserContext pcon, ISeq form, string name ) : clojure.lang.CljCompiler.Ast.Expr
AnalyzeSymbol ( Symbol symbol ) : clojure.lang.CljCompiler.Ast.Expr
CloseOver ( LocalBinding b, ObjMethod method ) : void
ColumnVarDeref ( ) : int
Compile ( GenContext context, TextReader rdr, string sourceDirectory, string sourceName, string relativePath ) : object
Compile1 ( TypeBuilder tb, CljILGen ilg, ObjExpr objx, object form ) : void
Compiler ( ) : System
ConsumeWhitespaces ( LineNumberingTextReader lnReader ) : void
CreateDemungeMap ( ) : IPersistentMap
CreateDemungePattern ( ) : Regex
CreateEvalContext ( string name, bool createDynInitHelper ) : GenContext
CreateObjectTypeArray ( int size ) : System.Type[]
EmptyVarCallSites ( ) : IPersistentCollection
FindDuplicateType ( string typename ) : Type
GetAndIncLocalNum ( ) : int
GetLocation ( IPersistentMap spanMap, Keyword key, int &val ) : bool
GetSpecialFormParser ( object op ) : IParser
GetTypeFromAssy ( Assembly assy, string typeName ) : Type
GetTypes ( ParameterInfo ps ) : System.Type[]
InTailCall ( RHC context ) : bool
InitAssembly ( Assembly assy, string relativePath ) : void
InitClassName ( string sourcePath ) : string
InitializeCompilerOptions ( ) : void
InvokeInitType ( Assembly assy, Type initType ) : void
IsInline ( object op, int arity ) : IFn
IsMacro ( Object op ) : Var
LineVarDeref ( ) : int
LoadAssembly ( FileInfo assyInfo, string relativePath ) : void
LoadAssembly ( byte assyData, string relativePath ) : void
LookupVar ( Symbol sym, bool internNew ) : Var
LookupVar ( Symbol sym, bool internNew, System.Boolean registerMacro ) : Var
Macroexpand ( object form ) : object
MacroexpandSeq1 ( ISeq form ) : object
MaybeClrType ( ICollection exprs ) : Type
MaybePrimitiveType ( clojure.lang.CljCompiler.Ast.Expr e ) : Type
MaybeTransferSourceInfo ( object newForm, object oldForm ) : object
NamesStaticMember ( Symbol sym ) : bool
OptionallyGenerateMetaInit ( ParserContext pcon, object form, clojure.lang.CljCompiler.Ast.Expr expr ) : clojure.lang.CljCompiler.Ast.Expr
PreserveTag ( ISeq src, object dst ) : object
ReaderOpts ( string sourceName ) : Object
ReferenceLocal ( Symbol symbol ) : LocalBinding
RegisterConstant ( Object o ) : int
RegisterDuplicateType ( Type type ) : void
RegisterKeyword ( Keyword keyword ) : clojure.lang.CljCompiler.Ast.KeywordExpr
RegisterKeywordCallsite ( Keyword keyword ) : int
RegisterLocal ( Symbol sym, Symbol tag, Expr init, Type declaredType, bool isArg ) : LocalBinding
RegisterLocal ( Symbol sym, Symbol tag, Expr init, Type declaredType, bool isArg, bool isByRef ) : LocalBinding
RegisterLocalInternal ( Symbol sym, Symbol tag, Expr init, Type declaredType, bool isThis, bool isArg, bool isByRef ) : LocalBinding
RegisterLocalThis ( Symbol sym, Symbol tag, Expr init ) : LocalBinding
RegisterProtocolCallsite ( Var v ) : int
RegisterVarCallsite ( Var v ) : void
ResolveIn ( Namespace n, Symbol symbol, bool allowPrivate ) : object
TagOf ( object o ) : Symbol
TagType ( Object tag ) : Type
TryLoadInitType ( string relativePath ) : bool
demunge ( string mungedNamed ) : String
eval ( object form ) : object
load ( TextReader rdr ) : object
load ( TextReader rdr, string relativePath ) : object
load ( TextReader rdr, string sourcePath, string sourceName, string relativePath ) : object
loadFile ( string fileName ) : object
macroexpand1 ( object form ) : object
maybeResolveIn ( Namespace n, Symbol symbol ) : object
munge ( string name ) : string
namespaceFor ( Namespace inns, Symbol sym ) : Namespace
namespaceFor ( Symbol sym ) : Namespace
resolveSymbol ( Symbol sym ) : Symbol

Method Details

Analyze() public static method

public static Analyze ( ParserContext pcontext, object form ) : clojure.lang.CljCompiler.Ast.Expr
pcontext clojure.lang.CljCompiler.Ast.ParserContext
form object
return clojure.lang.CljCompiler.Ast.Expr

Compile() public static method

public static Compile ( TextReader rdr, string sourceDirectory, string sourceName, string relativePath ) : object
rdr TextReader
sourceDirectory string
sourceName string
relativePath string
return object

ElideMeta() public static method

public static ElideMeta ( object m ) : object
m object
return object

GetColumnFromSpanMap() public static method

public static GetColumnFromSpanMap ( IPersistentMap spanMap ) : int
spanMap IPersistentMap
return int

GetCompilerOption() public static method

public static GetCompilerOption ( Keyword k ) : object
k Keyword
return object

GetLineFromSpanMap() public static method

public static GetLineFromSpanMap ( IPersistentMap spanMap ) : int
spanMap IPersistentMap
return int

GetLocations() public static method

public static GetLocations ( IPersistentMap spanMap, int &startLine, int &startCol, int &finishLine, int &finishCol ) : bool
spanMap IPersistentMap
startLine int
startCol int
finishLine int
finishCol int
return bool

Inty() public static method

public static Inty ( Type t ) : bool
t System.Type
return bool

IsCompilingSuffix() public static method

public static IsCompilingSuffix ( ) : string
return string

IsSpecial() public static method

public static IsSpecial ( Object sym ) : bool
sym Object
return bool

PrimType() public static method

public static PrimType ( Symbol sym ) : Type
sym Symbol
return System.Type

PrimType() public static method

public static PrimType ( Type t ) : Type
t System.Type
return System.Type

PushNS() public static method

public static PushNS ( ) : void
return void

RegisterVar() public static method

public static RegisterVar ( Var v ) : void
v Var
return void

Resolve() public static method

public static Resolve ( Symbol symbol ) : object
symbol Symbol
return object

Resolve() public static method

public static Resolve ( Symbol symbol, bool allowPrivate ) : object
symbol Symbol
allowPrivate bool
return object

RetType() public static method

public static RetType ( Type tc, Type ret ) : Type
tc Type
ret Type
return Type

SaveEvalContext() public static method

public static SaveEvalContext ( ) : void
return void

Property Details

AmpersandSym public_oe static_oe property

public static Symbol,clojure.lang AmpersandSym
return Symbol

AssignSym public_oe static_oe property

public static Symbol,clojure.lang AssignSym
return Symbol

CaseSym public_oe static_oe property

public static Symbol,clojure.lang CaseSym
return Symbol

CatchSym public_oe static_oe property

public static Symbol,clojure.lang CatchSym
return Symbol

ColumnVar public_oe static_oe property

public static Var,clojure.lang ColumnVar
return Var

CompilePathVar public_oe static_oe property

public static Var,clojure.lang CompilePathVar
return Var

CompileVar public_oe static_oe property

public static Var,clojure.lang CompileVar
return Var

DefSym public_oe static_oe property

public static Symbol,clojure.lang DefSym
return Symbol

DeftypeSym public_oe static_oe property

public static Symbol,clojure.lang DeftypeSym
return Symbol

DoSym public_oe static_oe property

public static Symbol,clojure.lang DoSym
return Symbol

DotSym public_oe static_oe property

public static Symbol,clojure.lang DotSym
return Symbol

FinallySym public_oe static_oe property

public static Symbol,clojure.lang FinallySym
return Symbol

IdentitySym public_oe static_oe property

public static Symbol,clojure.lang IdentitySym
return Symbol

IfSym public_oe static_oe property

public static Symbol,clojure.lang IfSym
return Symbol

ImportSym public_oe static_oe property

public static Symbol,clojure.lang ImportSym
return Symbol

LetSym public_oe static_oe property

public static Symbol,clojure.lang LetSym
return Symbol

LetfnSym public_oe static_oe property

public static Symbol,clojure.lang LetfnSym
return Symbol

LineVar public_oe static_oe property

public static Var,clojure.lang LineVar
return Var

LocalEnvVar public_oe static_oe property

public static Var,clojure.lang LocalEnvVar
return Var

LoopSym public_oe static_oe property

public static Symbol,clojure.lang LoopSym
return Symbol

MonitorEnterSym public_oe static_oe property

public static Symbol,clojure.lang MonitorEnterSym
return Symbol

MonitorExitSym public_oe static_oe property

public static Symbol,clojure.lang MonitorExitSym
return Symbol

NewSym public_oe static_oe property

public static Symbol,clojure.lang NewSym
return Symbol

QuoteSym public_oe static_oe property

public static Symbol,clojure.lang QuoteSym
return Symbol

RecurSym public_oe static_oe property

public static Symbol,clojure.lang RecurSym
return Symbol

ReifySym public_oe static_oe property

public static Symbol ReifySym
return Symbol

SourceSpanVar public_oe static_oe property

public static Var SourceSpanVar
return Var

TheVarSym public_oe static_oe property

public static Symbol TheVarSym
return Symbol

ThisSym public_oe static_oe property

public static Symbol ThisSym
return Symbol

ThrowSym public_oe static_oe property

public static Symbol ThrowSym
return Symbol

TrySym public_oe static_oe property

public static Symbol TrySym
return Symbol