C# 클래스 Boo.Lang.Compiler.TypeSystem.NameResolutionService

파일 보기 프로젝트 열기: boo/boo-lang 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DotArray char[]

보호된 프로퍼티들

프로퍼티 타입 설명
_buffer List
_context CompilerContext
_current INamespace
_global INamespace
_innerBuffer List

공개 메소드들

메소드 설명
EnterNamespace ( INamespace ns ) : void
GetEntityFromList ( IList list ) : IEntity
GetMostSimilarMemberName ( INamespace ns, string name, EntityType elementType ) : string
GetMostSimilarTypeName ( string name ) : string
GetNamespace ( string ns ) : NamespaceEntity
IsFlagSet ( EntityType flags, EntityType flag ) : bool
LeaveNamespace ( ) : void
NameResolutionService ( CompilerContext context ) : System
OrganizeAssemblyTypes ( Assembly asm ) : void
Reset ( ) : void
Resolve ( INamespace ns, string name ) : IEntity
Resolve ( INamespace ns, string name, EntityType elementType ) : IEntity
Resolve ( string name ) : IEntity
Resolve ( string name, EntityType flags ) : IEntity
Resolve ( List targetList, string name ) : bool
Resolve ( List targetList, string name, EntityType flags ) : bool
ResolveArrayTypeReference ( Boo.Lang.Compiler.Ast.ArrayTypeReference node ) : void
ResolveExtension ( INamespace ns, string name ) : IEntity
ResolveField ( IType type, string name ) : IField
ResolveGenericReferenceExpression ( GenericReferenceExpression gre, IEntity definition ) : IEntity
ResolveGenericTypeReference ( GenericTypeReference gtr, IEntity definition ) : IType
ResolveMember ( IType type, string name, EntityType elementType ) : IEntity
ResolveMethod ( IType type, string name ) : IMethod
ResolveProperty ( IType type, string name ) : IProperty
ResolveQualifiedName ( string name ) : IEntity
ResolveQualifiedName ( List targetList, string name ) : bool
ResolveQualifiedName ( List targetList, string name, EntityType flags ) : bool
ResolveSimpleTypeReference ( Boo.Lang.Compiler.Ast.SimpleTypeReference node ) : void
ResolveTypeReference ( TypeReference node ) : void
Restore ( INamespace saved ) : void

비공개 메소드들

메소드 설명
AmbiguousReference ( Boo.Lang.Compiler.Ast.SimpleTypeReference node, Ambiguous entity ) : IEntity
CatalogPublicTypes ( Type types ) : void
FilterGenericTypes ( List types, Boo.Lang.Compiler.Ast.SimpleTypeReference node ) : void
FlattenChildNamespaces ( List list, INamespace ns ) : void
GenericArgumentsCountMismatch ( TypeReference node, IType type ) : IEntity
GetEntityFromBuffer ( ) : IEntity
GetGlobalNamespace ( ) : GlobalNamespace
GetTopLevelNamespace ( string topLevelName ) : NamespaceEntity
GetTypes ( TypeReferenceCollection typeReferences ) : IType[]
IsQualifiedName ( string name ) : bool
NameNotType ( Boo.Lang.Compiler.Ast.SimpleTypeReference node ) : IEntity
ResolveExtensionForType ( INamespace ns, IType type, string name ) : IEntity
ResolveTypeName ( Boo.Lang.Compiler.Ast.SimpleTypeReference node ) : IEntity
ResolveTypeReferenceCollection ( TypeReferenceCollection collection ) : void
ToSoundex ( string s ) : string

메소드 상세

EnterNamespace() 공개 메소드

public EnterNamespace ( INamespace ns ) : void
ns INamespace
리턴 void

GetEntityFromList() 공개 정적인 메소드

public static GetEntityFromList ( IList list ) : IEntity
list IList
리턴 IEntity

GetMostSimilarMemberName() 공개 메소드

public GetMostSimilarMemberName ( INamespace ns, string name, EntityType elementType ) : string
ns INamespace
name string
elementType EntityType
리턴 string

GetMostSimilarTypeName() 공개 메소드

public GetMostSimilarTypeName ( string name ) : string
name string
리턴 string

GetNamespace() 공개 메소드

public GetNamespace ( string ns ) : NamespaceEntity
ns string
리턴 NamespaceEntity

IsFlagSet() 공개 정적인 메소드

public static IsFlagSet ( EntityType flags, EntityType flag ) : bool
flags EntityType
flag EntityType
리턴 bool

LeaveNamespace() 공개 메소드

public LeaveNamespace ( ) : void
리턴 void

NameResolutionService() 공개 메소드

public NameResolutionService ( CompilerContext context ) : System
context CompilerContext
리턴 System

OrganizeAssemblyTypes() 공개 메소드

public OrganizeAssemblyTypes ( Assembly asm ) : void
asm System.Reflection.Assembly
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Resolve() 공개 메소드

public Resolve ( INamespace ns, string name ) : IEntity
ns INamespace
name string
리턴 IEntity

Resolve() 공개 메소드

public Resolve ( INamespace ns, string name, EntityType elementType ) : IEntity
ns INamespace
name string
elementType EntityType
리턴 IEntity

Resolve() 공개 메소드

public Resolve ( string name ) : IEntity
name string
리턴 IEntity

Resolve() 공개 메소드

public Resolve ( string name, EntityType flags ) : IEntity
name string
flags EntityType
리턴 IEntity

Resolve() 공개 메소드

public Resolve ( List targetList, string name ) : bool
targetList List
name string
리턴 bool

Resolve() 공개 메소드

public Resolve ( List targetList, string name, EntityType flags ) : bool
targetList List
name string
flags EntityType
리턴 bool

ResolveArrayTypeReference() 공개 메소드

public ResolveArrayTypeReference ( Boo.Lang.Compiler.Ast.ArrayTypeReference node ) : void
node Boo.Lang.Compiler.Ast.ArrayTypeReference
리턴 void

ResolveExtension() 공개 메소드

public ResolveExtension ( INamespace ns, string name ) : IEntity
ns INamespace
name string
리턴 IEntity

ResolveField() 공개 정적인 메소드

public static ResolveField ( IType type, string name ) : IField
type IType
name string
리턴 IField

ResolveGenericReferenceExpression() 공개 메소드

public ResolveGenericReferenceExpression ( GenericReferenceExpression gre, IEntity definition ) : IEntity
gre Boo.Lang.Compiler.Ast.GenericReferenceExpression
definition IEntity
리턴 IEntity

ResolveGenericTypeReference() 공개 메소드

public ResolveGenericTypeReference ( GenericTypeReference gtr, IEntity definition ) : IType
gtr Boo.Lang.Compiler.Ast.GenericTypeReference
definition IEntity
리턴 IType

ResolveMember() 공개 정적인 메소드

public static ResolveMember ( IType type, string name, EntityType elementType ) : IEntity
type IType
name string
elementType EntityType
리턴 IEntity

ResolveMethod() 공개 정적인 메소드

public static ResolveMethod ( IType type, string name ) : IMethod
type IType
name string
리턴 IMethod

ResolveProperty() 공개 정적인 메소드

public static ResolveProperty ( IType type, string name ) : IProperty
type IType
name string
리턴 IProperty

ResolveQualifiedName() 공개 메소드

public ResolveQualifiedName ( string name ) : IEntity
name string
리턴 IEntity

ResolveQualifiedName() 공개 메소드

public ResolveQualifiedName ( List targetList, string name ) : bool
targetList List
name string
리턴 bool

ResolveQualifiedName() 공개 메소드

public ResolveQualifiedName ( List targetList, string name, EntityType flags ) : bool
targetList List
name string
flags EntityType
리턴 bool

ResolveSimpleTypeReference() 공개 메소드

public ResolveSimpleTypeReference ( Boo.Lang.Compiler.Ast.SimpleTypeReference node ) : void
node Boo.Lang.Compiler.Ast.SimpleTypeReference
리턴 void

ResolveTypeReference() 공개 메소드

public ResolveTypeReference ( TypeReference node ) : void
node Boo.Lang.Compiler.Ast.TypeReference
리턴 void

Restore() 공개 메소드

public Restore ( INamespace saved ) : void
saved INamespace
리턴 void

프로퍼티 상세

DotArray 공개적으로 정적으로 프로퍼티

public static char[] DotArray
리턴 char[]

_buffer 보호되어 있는 프로퍼티

protected List _buffer
리턴 List

_context 보호되어 있는 프로퍼티

protected CompilerContext _context
리턴 CompilerContext

_current 보호되어 있는 프로퍼티

protected INamespace _current
리턴 INamespace

_global 보호되어 있는 프로퍼티

protected INamespace _global
리턴 INamespace

_innerBuffer 보호되어 있는 프로퍼티

protected List _innerBuffer
리턴 List