C# 클래스 Mono.CSharp.DeclSpace

Base class for structs, classes, enumerations and interfaces.
They all create new declaration spaces. This provides the common foundation for managing those name spaces.
상속: MemberCore
파일 보기 프로젝트 열기: kumpera/mono 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Basename string
NamespaceEntry NamespaceEntry
PartialContainer TypeContainer
TypeBuilder TypeBuilder

보호된 프로퍼티들

프로퍼티 타입 설명
defined_names MemberCore>.Dictionary
is_generic bool
type_params TypeParameter[]

공개 메소드들

메소드 설명
DeclSpace ( NamespaceEntry ns, DeclSpace parent, MemberName name, Mono.CSharp.Attributes attrs ) : System
DefineType ( ) : void Should be overriten by the appropriate declaration space
GetDefinition ( string name ) : MemberCore

Returns the MemberCore associated with a given name in the declaration space. It doesn't return method based symbols !!

GetSignatureForError ( ) : string
IsUnmanagedType ( ) : bool
SetParameterInfo ( List constraints_list ) : void

보호된 메소드들

메소드 설명
AddToContainer ( MemberCore symbol, string name ) : bool

Adds the member to defined_names table. It tests for duplications and enclosing name conflicts

Error_MissingPartialModifier ( MemberCore type ) : void
RemoveFromContainer ( string name ) : void
VerifyClsCompliance ( ) : bool

비공개 메소드들

메소드 설명
initialize_type_params ( ) : TypeParameter[]

메소드 상세

AddToContainer() 보호된 메소드

Adds the member to defined_names table. It tests for duplications and enclosing name conflicts
protected AddToContainer ( MemberCore symbol, string name ) : bool
symbol MemberCore
name string
리턴 bool

DeclSpace() 공개 메소드

public DeclSpace ( NamespaceEntry ns, DeclSpace parent, MemberName name, Mono.CSharp.Attributes attrs ) : System
ns NamespaceEntry
parent DeclSpace
name MemberName
attrs Mono.CSharp.Attributes
리턴 System

DefineType() 공개 추상적인 메소드

Should be overriten by the appropriate declaration space
public abstract DefineType ( ) : void
리턴 void

Error_MissingPartialModifier() 보호된 메소드

protected Error_MissingPartialModifier ( MemberCore type ) : void
type MemberCore
리턴 void

GetDefinition() 공개 메소드

Returns the MemberCore associated with a given name in the declaration space. It doesn't return method based symbols !!
public GetDefinition ( string name ) : MemberCore
name string
리턴 MemberCore

GetSignatureForError() 공개 메소드

public GetSignatureForError ( ) : string
리턴 string

IsUnmanagedType() 공개 메소드

public IsUnmanagedType ( ) : bool
리턴 bool

RemoveFromContainer() 보호된 메소드

protected RemoveFromContainer ( string name ) : void
name string
리턴 void

SetParameterInfo() 공개 메소드

public SetParameterInfo ( List constraints_list ) : void
constraints_list List
리턴 void

VerifyClsCompliance() 보호된 메소드

protected VerifyClsCompliance ( ) : bool
리턴 bool

프로퍼티 상세

Basename 공개적으로 프로퍼티

public string Basename
리턴 string

NamespaceEntry 공개적으로 프로퍼티

public NamespaceEntry NamespaceEntry
리턴 NamespaceEntry

PartialContainer 공개적으로 프로퍼티

public TypeContainer PartialContainer
리턴 TypeContainer

TypeBuilder 공개적으로 프로퍼티

This points to the actual definition that is being created with System.Reflection.Emit
public TypeBuilder TypeBuilder
리턴 TypeBuilder

defined_names 보호되어 있는 프로퍼티

protected Dictionary defined_names
리턴 MemberCore>.Dictionary

is_generic 보호되어 있는 프로퍼티

protected bool is_generic
리턴 bool

type_params 보호되어 있는 프로퍼티

protected TypeParameter[] type_params
리턴 TypeParameter[]