C# Class Babel.Compiler.TypeElementCreatingVisitor

Inheritance: AbstractNodeVisitor
Mostra file Open project: shugo/babel

Protected Properties

Property Type Description
ancestorMethods System.Collections.ArrayList
currentClass ClassDefinition
currentSouceFile SourceFile
iterCount int
program Program
report Report
typeManager TypeManager

Public Methods

Method Description
TypeElementCreatingVisitor ( Report report ) : System
VisitAbstractIter ( AbstractIterSignature iter ) : void
VisitAbstractRoutine ( AbstractRoutineSignature rout ) : void
VisitArgument ( Argument arg ) : void
VisitAttr ( AttrDefinition attr ) : void
VisitClass ( ClassDefinition cls ) : void
VisitConst ( ConstDefinition constDef ) : void
VisitInclude ( IncludeClause include ) : void
VisitIter ( IterDefinition iter ) : void
VisitProgram ( Program program ) : void
VisitRoutine ( RoutineDefinition rout ) : void
VisitSharedAttr ( SharedAttrDefinition attr ) : void
VisitSourceFile ( SourceFile sourceFile ) : void
VisitTypeSpecifier ( TypeSpecifier typeSpecifier ) : void

Protected Methods

Method Description
AddAdapterMethod ( SupertypingAdapter adapter, MethodInfo method, MethodInfo adapteeMethod ) : void
CheckMethodConfliction ( TypeData type, string name, TypeData returnType, TypedNodeList arguments ) : void
CheckMethodConformance ( MethodData method, ArrayList ancestorMethods ) : ArrayList
CheckMethodConformance ( TypeData type, string name, TypeData returnType, TypedNodeList arguments, ArrayList ancestorMethods ) : ArrayList
CreateAdapterMethods ( ClassDefinition cls ) : void
DefineConstructor ( TypeBuilder type, MethodAttributes attributes, CallingConventions callingConventions, Type paramTypes ) : ConstructorBuilder
DefineIterTypeParameters ( IterDefinition iter ) : void
DefineMethod ( TypeBuilder type, string name, MethodAttributes attributes, TypeData returnType, TypedNodeList arguments ) : MethodBuilder
DefineReader ( TypeBuilder type, string name, MethodAttributes attributes, TypeSpecifier attrType ) : MethodBuilder
DefineWriter ( TypeBuilder type, string name, MethodAttributes attributes, TypeSpecifier attrType ) : MethodBuilder
GetIterCreatorArguments ( TypedNodeList arguments ) : TypedNodeList

Method Details

AddAdapterMethod() protected method

protected AddAdapterMethod ( SupertypingAdapter adapter, MethodInfo method, MethodInfo adapteeMethod ) : void
adapter SupertypingAdapter
method System.Reflection.MethodInfo
adapteeMethod System.Reflection.MethodInfo
return void

CheckMethodConfliction() protected method

protected CheckMethodConfliction ( TypeData type, string name, TypeData returnType, TypedNodeList arguments ) : void
type TypeData
name string
returnType TypeData
arguments TypedNodeList
return void

CheckMethodConformance() protected method

protected CheckMethodConformance ( MethodData method, ArrayList ancestorMethods ) : ArrayList
method MethodData
ancestorMethods System.Collections.ArrayList
return System.Collections.ArrayList

CheckMethodConformance() protected method

protected CheckMethodConformance ( TypeData type, string name, TypeData returnType, TypedNodeList arguments, ArrayList ancestorMethods ) : ArrayList
type TypeData
name string
returnType TypeData
arguments TypedNodeList
ancestorMethods System.Collections.ArrayList
return System.Collections.ArrayList

CreateAdapterMethods() protected method

protected CreateAdapterMethods ( ClassDefinition cls ) : void
cls ClassDefinition
return void

DefineConstructor() protected method

protected DefineConstructor ( TypeBuilder type, MethodAttributes attributes, CallingConventions callingConventions, Type paramTypes ) : ConstructorBuilder
type System.Reflection.Emit.TypeBuilder
attributes MethodAttributes
callingConventions CallingConventions
paramTypes System.Type
return System.Reflection.Emit.ConstructorBuilder

DefineIterTypeParameters() protected method

protected DefineIterTypeParameters ( IterDefinition iter ) : void
iter IterDefinition
return void

DefineMethod() protected method

protected DefineMethod ( TypeBuilder type, string name, MethodAttributes attributes, TypeData returnType, TypedNodeList arguments ) : MethodBuilder
type System.Reflection.Emit.TypeBuilder
name string
attributes MethodAttributes
returnType TypeData
arguments TypedNodeList
return System.Reflection.Emit.MethodBuilder

DefineReader() protected method

protected DefineReader ( TypeBuilder type, string name, MethodAttributes attributes, TypeSpecifier attrType ) : MethodBuilder
type System.Reflection.Emit.TypeBuilder
name string
attributes MethodAttributes
attrType TypeSpecifier
return System.Reflection.Emit.MethodBuilder

DefineWriter() protected method

protected DefineWriter ( TypeBuilder type, string name, MethodAttributes attributes, TypeSpecifier attrType ) : MethodBuilder
type System.Reflection.Emit.TypeBuilder
name string
attributes MethodAttributes
attrType TypeSpecifier
return System.Reflection.Emit.MethodBuilder

GetIterCreatorArguments() protected method

protected GetIterCreatorArguments ( TypedNodeList arguments ) : TypedNodeList
arguments TypedNodeList
return TypedNodeList

TypeElementCreatingVisitor() public method

public TypeElementCreatingVisitor ( Report report ) : System
report Report
return System

VisitAbstractIter() public method

public VisitAbstractIter ( AbstractIterSignature iter ) : void
iter AbstractIterSignature
return void

VisitAbstractRoutine() public method

public VisitAbstractRoutine ( AbstractRoutineSignature rout ) : void
rout AbstractRoutineSignature
return void

VisitArgument() public method

public VisitArgument ( Argument arg ) : void
arg Argument
return void

VisitAttr() public method

public VisitAttr ( AttrDefinition attr ) : void
attr AttrDefinition
return void

VisitClass() public method

public VisitClass ( ClassDefinition cls ) : void
cls ClassDefinition
return void

VisitConst() public method

public VisitConst ( ConstDefinition constDef ) : void
constDef ConstDefinition
return void

VisitInclude() public method

public VisitInclude ( IncludeClause include ) : void
include IncludeClause
return void

VisitIter() public method

public VisitIter ( IterDefinition iter ) : void
iter IterDefinition
return void

VisitProgram() public method

public VisitProgram ( Program program ) : void
program Program
return void

VisitRoutine() public method

public VisitRoutine ( RoutineDefinition rout ) : void
rout RoutineDefinition
return void

VisitSharedAttr() public method

public VisitSharedAttr ( SharedAttrDefinition attr ) : void
attr SharedAttrDefinition
return void

VisitSourceFile() public method

public VisitSourceFile ( SourceFile sourceFile ) : void
sourceFile SourceFile
return void

VisitTypeSpecifier() public method

public VisitTypeSpecifier ( TypeSpecifier typeSpecifier ) : void
typeSpecifier TypeSpecifier
return void

Property Details

ancestorMethods protected_oe property

protected ArrayList,System.Collections ancestorMethods
return System.Collections.ArrayList

currentClass protected_oe property

protected ClassDefinition,Babel.Compiler currentClass
return ClassDefinition

currentSouceFile protected_oe property

protected SourceFile,Babel.Compiler currentSouceFile
return SourceFile

iterCount protected_oe property

protected int iterCount
return int

program protected_oe property

protected Program program
return Program

report protected_oe property

protected Report,Babel.Compiler report
return Report

typeManager protected_oe property

protected TypeManager,Babel.Compiler typeManager
return TypeManager