C# Class Boo.Lang.Compiler.TypeSystem.BooClassBuilder

ファイルを表示 Open project: boo/boo-lang Class Usage Examples

Public Methods

Method Description
AddAttribute ( Attribute attribute ) : void
AddBaseType ( IType type ) : void
AddConstructor ( ) : BooMethodBuilder
AddField ( string name, IType type ) : Boo.Lang.Compiler.Ast.Field
AddField ( string name, IType type, TypeMemberModifiers modifiers ) : Boo.Lang.Compiler.Ast.Field
AddInternalField ( string name, IType type ) : Boo.Lang.Compiler.Ast.Field
AddMethod ( string name, IType returnType ) : BooMethodBuilder
AddMethod ( string name, IType returnType, TypeMemberModifiers modifiers ) : BooMethodBuilder
AddPublicField ( string name, IType type ) : Boo.Lang.Compiler.Ast.Field
AddReadOnlyProperty ( string name, IType type ) : Property
AddVirtualMethod ( string name, IType returnType ) : BooMethodBuilder
BooClassBuilder ( Boo.Lang.Compiler.TypeSystem.BooCodeBuilder codeBuilder, string name ) : System

Method Details

AddAttribute() public method

public AddAttribute ( Attribute attribute ) : void
attribute Boo.Lang.Compiler.Ast.Attribute
return void

AddBaseType() public method

public AddBaseType ( IType type ) : void
type IType
return void

AddConstructor() public method

public AddConstructor ( ) : BooMethodBuilder
return BooMethodBuilder

AddField() public method

public AddField ( string name, IType type ) : Boo.Lang.Compiler.Ast.Field
name string
type IType
return Boo.Lang.Compiler.Ast.Field

AddField() public method

public AddField ( string name, IType type, TypeMemberModifiers modifiers ) : Boo.Lang.Compiler.Ast.Field
name string
type IType
modifiers TypeMemberModifiers
return Boo.Lang.Compiler.Ast.Field

AddInternalField() public method

public AddInternalField ( string name, IType type ) : Boo.Lang.Compiler.Ast.Field
name string
type IType
return Boo.Lang.Compiler.Ast.Field

AddMethod() public method

public AddMethod ( string name, IType returnType ) : BooMethodBuilder
name string
returnType IType
return BooMethodBuilder

AddMethod() public method

public AddMethod ( string name, IType returnType, TypeMemberModifiers modifiers ) : BooMethodBuilder
name string
returnType IType
modifiers TypeMemberModifiers
return BooMethodBuilder

AddPublicField() public method

public AddPublicField ( string name, IType type ) : Boo.Lang.Compiler.Ast.Field
name string
type IType
return Boo.Lang.Compiler.Ast.Field

AddReadOnlyProperty() public method

public AddReadOnlyProperty ( string name, IType type ) : Property
name string
type IType
return Property

AddVirtualMethod() public method

public AddVirtualMethod ( string name, IType returnType ) : BooMethodBuilder
name string
returnType IType
return BooMethodBuilder

BooClassBuilder() public method

public BooClassBuilder ( Boo.Lang.Compiler.TypeSystem.BooCodeBuilder codeBuilder, string name ) : System
codeBuilder Boo.Lang.Compiler.TypeSystem.BooCodeBuilder
name string
return System