C# Class clojure.lang.CljCompiler.Ast.NewInstanceExpr

Inheritance: ObjExpr
显示文件 Open project: clojure/clojure-clr Class Usage Examples

Private Properties

Property Type Description
AddMethod void
Build ObjExpr
CompileBaseClass System.Type
ConsiderMethod void
DefineBaseClassClosedOverConstructors void
DefineBaseClassMethods void
EmitDummyMethod void
ExplicitMethodName string
GatherInterfaceExplicits void
GatherMethods void
GatherMethods void
HasShadowedMethod bool
NeedsDummy bool
ParametersMatch bool
SeqToTypeArray System.Type[]

Public Methods

Method Description
MSig ( MethodInfo m ) : IPersistentVector
NewInstanceExpr ( object tag ) : System

Protected Methods

Method Description
EmitMethods ( TypeBuilder tb ) : void
EmitStatics ( TypeBuilder tb ) : void

Private Methods

Method Description
AddMethod ( Dictionary mm, IPersistentVector sig, MethodInfo m ) : void
Build ( IPersistentVector interfaceSyms, IPersistentVector fieldSyms, Symbol thisSym, string tagName, Symbol className, Symbol typeTag, ISeq methodForms, Object frm, IPersistentMap opts ) : ObjExpr
CompileBaseClass ( GenContext context, Type super, Type interfaces, Object frm ) : Type
ConsiderMethod ( MethodInfo m, Dictionary mm ) : void
DefineBaseClassClosedOverConstructors ( Type super, TypeBuilder tb ) : void
DefineBaseClassMethods ( Type interfaces, TypeBuilder tb ) : void
EmitDummyMethod ( TypeBuilder tb, MethodInfo mi, bool isExplicit ) : void
ExplicitMethodName ( MethodInfo mi ) : string
GatherInterfaceExplicits ( Type type, Dictionary explicits ) : void
GatherMethods ( Type t, Dictionary mm ) : void
GatherMethods ( Type st, ISeq interfaces, Dictionary &overrides, Dictionary &explicits ) : void
HasShadowedMethod ( MethodInfo mi, Dictionary impled ) : bool
NeedsDummy ( MethodInfo mi, HashSet implemented ) : bool
ParametersMatch ( MethodInfo m1, MethodInfo m2 ) : bool
SeqToTypeArray ( IPersistentVector interfaces ) : System.Type[]

Method Details

EmitMethods() protected method

protected EmitMethods ( TypeBuilder tb ) : void
tb System.Reflection.Emit.TypeBuilder
return void

EmitStatics() protected method

protected EmitStatics ( TypeBuilder tb ) : void
tb System.Reflection.Emit.TypeBuilder
return void

MSig() public static method

public static MSig ( MethodInfo m ) : IPersistentVector
m System.Reflection.MethodInfo
return IPersistentVector

NewInstanceExpr() public method

public NewInstanceExpr ( object tag ) : System
tag object
return System