C# Class clojure.compiler.Generator

Mostrar archivo Open project: arohner/clojure-contrib

Public Properties

Property Type Description
IN_CATCH_FINALLY clojure.lang.Var
IN_TAIL_POSITION clojure.lang.Var
LOOP_LABEL clojure.lang.Var

Private Properties

Property Type Description
ComputeInvocationReturnType System.Type
ComputeIsVariadicQuickly bool
ConvertParamArrayToISeq Expression
CreateObjectTypeArray System.Type[]
FindAsDirectStaticFieldReference System.Type
FindAsVar clojure.lang.Var
Generate Expression
GenerateAssignExpr Expression
GenerateBodyExpr Expression
GenerateConstExpr Expression
GenerateDefExpr Expression
GenerateDirectStaticFieldAssignExpr Expression
GenerateEmptyExpr Expression
GenerateFalseExpr Expression
GenerateFieldAssignExpr Expression
GenerateFnExpr Expression
GenerateFnLambda Expression
GenerateFnMethod MethodDef
GenerateHostExpr Expression
GenerateIfExpr Expression
GenerateInvocation Expression
GenerateInvoke Expression
GenerateKeywordExpr Expression
GenerateLetExpr Expression
GenerateMapExpr Expression
GenerateMonitorEnterExpr Expression
GenerateMonitorExitExpr Expression
GenerateNewExpr Expression
GenerateNilExpr Expression
GenerateQuoteExpr Expression
GenerateRecurExpr Expression
GenerateSeqExpr Expression
GenerateSetExpr Expression
GenerateStaticFieldExpr Expression
GenerateStringExpr Expression
GenerateSymbolExpr Expression
GenerateTheVarExpr Expression
GenerateThrowExpr Expression
GenerateTrueExpr Expression
GenerateTryExpr Expression
GenerateTypedDelegateExpression LambdaExpression
GenerateUnresolvedVarExpr Expression
GenerateVarAssignExpr Expression
GenerateVarExpr Expression
GenerateVectorExpr Expression
Generator System
GetParamArrayItem Expression
GetSpecialFormGenerator ExprGenerator
HasSpecialFormGenerator bool
IsFieldReference bool
IsInline IFn
IsMacro clojure.lang.Var
MacroexpandSeq1 object
MaybeBox Expression
MaybeBox Expression[]
MaybeToString string
MaybeType System.Type
OptionallyGenerateMetaInit Expression
ReferenceLocal LocalBinding
RegisterLocal LocalBinding
RegisterVar void
SymbolMapsToVar clojure.lang.Var
TagOf clojure.lang.Symbol
TagToType System.Type
lookupVar Var

Public Methods

Method Description
Eval ( clojure.runtime.ClojureContext clc, object form ) : Expression
Generate ( object p, Microsoft sourceUnit ) : LambdaExpression
Generate ( object form, bool addPrint ) : LambdaExpression
GenerateTypedDelegateExpression ( clojure.runtime.ClojureContext clc, Type delegateType, Symbol name, IPersistentVector parameters, ISeq body ) : LambdaExpression
Macroexpand1 ( clojure.runtime.ClojureContext clc, object form ) : object
MakeMap ( ) : IPersistentMap
MakeSet ( ) : IPersistentSet
MakeVector ( ) : IPersistentVector
NamesStaticMember ( Symbol sym ) : bool
munge ( string name ) : string

Private Methods

Method Description
ComputeInvocationReturnType ( object op, ISeq form ) : Type
ComputeIsVariadicQuickly ( ISeq body ) : bool
ConvertParamArrayToISeq ( Expression e, int i ) : Expression
CreateObjectTypeArray ( int size ) : System.Type[]
FindAsDirectStaticFieldReference ( object target ) : Type
FindAsVar ( object target ) : Var
Generate ( object form ) : Expression
GenerateAssignExpr ( ISeq form ) : Expression
GenerateBodyExpr ( ISeq form ) : Expression
GenerateConstExpr ( object form ) : Expression
GenerateDefExpr ( ISeq form ) : Expression
GenerateDirectStaticFieldAssignExpr ( Type t, string fieldName, object init ) : Expression
GenerateEmptyExpr ( object form ) : Expression
GenerateFalseExpr ( ) : Expression
GenerateFieldAssignExpr ( object classOrInstance, string fieldName, object init ) : Expression
GenerateFnExpr ( ISeq form ) : Expression
GenerateFnLambda ( FnDef fn, MethodDef>.SortedDictionary methods, MethodDef variadicMethod ) : Expression
GenerateFnMethod ( FnDef fn, ISeq form ) : MethodDef
GenerateHostExpr ( ISeq form ) : Expression
GenerateIfExpr ( ISeq form ) : Expression
GenerateInvocation ( Type returnType, Expression fn, Expression args ) : Expression
GenerateInvoke ( ISeq form ) : Expression
GenerateKeywordExpr ( Keyword keyword ) : Expression
GenerateLetExpr ( ISeq form ) : Expression
GenerateMapExpr ( IPersistentMap m ) : Expression
GenerateMonitorEnterExpr ( ISeq form ) : Expression
GenerateMonitorExitExpr ( ISeq form ) : Expression
GenerateNewExpr ( ISeq form ) : Expression
GenerateNilExpr ( ) : Expression
GenerateQuoteExpr ( ISeq form ) : Expression
GenerateRecurExpr ( ISeq form ) : Expression
GenerateSeqExpr ( ISeq form ) : Expression
GenerateSetExpr ( IPersistentSet set ) : Expression
GenerateStaticFieldExpr ( Type t, string fieldName ) : Expression
GenerateStringExpr ( string p ) : Expression
GenerateSymbolExpr ( Symbol symbol ) : Expression
GenerateTheVarExpr ( ISeq form ) : Expression
GenerateThrowExpr ( ISeq form ) : Expression
GenerateTrueExpr ( ) : Expression
GenerateTryExpr ( ISeq form ) : Expression
GenerateTypedDelegateExpression ( Type delegateType, Symbol name, IPersistentVector parms, ISeq body ) : LambdaExpression
GenerateUnresolvedVarExpr ( Symbol symbol ) : Expression
GenerateVarAssignExpr ( Var v, object init ) : Expression
GenerateVarExpr ( Var v, Symbol tag ) : Expression
GenerateVectorExpr ( IPersistentVector v ) : Expression
Generator ( ) : System
GetParamArrayItem ( Expression e, int i ) : Expression
GetSpecialFormGenerator ( object head ) : ExprGenerator
HasSpecialFormGenerator ( object head ) : bool
IsFieldReference ( object target ) : bool
IsInline ( object op, int arity ) : IFn
IsMacro ( Object op ) : Var
MacroexpandSeq1 ( ISeq form ) : object
MaybeBox ( Expression expr ) : Expression
MaybeBox ( Expression args ) : Expression[]
MaybeToString ( object x ) : string
MaybeType ( object form, bool stringOk ) : Type
OptionallyGenerateMetaInit ( object form, Expression expr ) : Expression
ReferenceLocal ( Symbol symbol ) : LocalBinding
RegisterLocal ( Symbol sym, Symbol tag, Expression init ) : LocalBinding
RegisterVar ( Var v ) : void
SymbolMapsToVar ( Symbol symbol ) : Var
TagOf ( object o ) : Symbol
TagToType ( object tag ) : Type
lookupVar ( Symbol sym, bool internNew ) : Var

Method Details

Eval() public static method

public static Eval ( clojure.runtime.ClojureContext clc, object form ) : Expression
clc clojure.runtime.ClojureContext
form object
return Expression

Generate() public static method

public static Generate ( object p, Microsoft sourceUnit ) : LambdaExpression
p object
sourceUnit Microsoft
return LambdaExpression

Generate() public static method

public static Generate ( object form, bool addPrint ) : LambdaExpression
form object
addPrint bool
return LambdaExpression

GenerateTypedDelegateExpression() public static method

public static GenerateTypedDelegateExpression ( clojure.runtime.ClojureContext clc, Type delegateType, Symbol name, IPersistentVector parameters, ISeq body ) : LambdaExpression
clc clojure.runtime.ClojureContext
delegateType System.Type
name clojure.lang.Symbol
parameters IPersistentVector
body ISeq
return LambdaExpression

Macroexpand1() public static method

public static Macroexpand1 ( clojure.runtime.ClojureContext clc, object form ) : object
clc clojure.runtime.ClojureContext
form object
return object

MakeMap() public static method

public static MakeMap ( ) : IPersistentMap
return IPersistentMap

MakeSet() public static method

public static MakeSet ( ) : IPersistentSet
return IPersistentSet

MakeVector() public static method

public static MakeVector ( ) : IPersistentVector
return IPersistentVector

NamesStaticMember() public static method

public static NamesStaticMember ( Symbol sym ) : bool
sym clojure.lang.Symbol
return bool

munge() public static method

public static munge ( string name ) : string
name string
return string

Property Details

IN_CATCH_FINALLY public_oe static_oe property

public static Var,clojure.lang IN_CATCH_FINALLY
return clojure.lang.Var

IN_TAIL_POSITION public_oe static_oe property

public static Var,clojure.lang IN_TAIL_POSITION
return clojure.lang.Var

LOOP_LABEL public_oe static_oe property

public static Var,clojure.lang LOOP_LABEL
return clojure.lang.Var