C# Class Mono.CSharp.NamespaceEntry

Inheritance: IMemberContext
Show file Open project: kumpera/mono Class Usage Examples

Public Properties

Property Type Description
DeclarationFound bool
IsImplicit bool
SlaveDeclSpace DeclSpace

Private Properties

Property Type Description
GetUsingTable Mono.CSharp.Namespace[]
Lookup Mono.CSharp.FullNamedExpression
MsgtryPkg void
MsgtryRef void
NamespaceEntry System

Public Methods

Method Description
AddUsing ( MemberName name, Mono.CSharp.Location loc ) : void

Records a new namespace for resolving name references

AddUsingAlias ( UsingAliasEntry uae ) : void
AddUsingAlias ( string alias, MemberName name, Mono.CSharp.Location loc ) : void
AddUsingExternalAlias ( string alias, Mono.CSharp.Location loc, Report Report ) : void
CompletionGetTypesStartingWith ( string prefix ) : IList
Error_GlobalNamespaceRedefined ( Mono.CSharp.Location loc, Report Report ) : void
Error_NamespaceNotFound ( Mono.CSharp.Location loc, string name, Report Report ) : void
Extract ( List out_using_aliases, List out_using_clauses ) : void
GetSignatureForError ( ) : string
LookupExtensionMethod ( System.TypeSpec extensionType, string name, int arity, NamespaceEntry &scope ) : IList
LookupNamespaceAlias ( string name ) : Mono.CSharp.FullNamedExpression
LookupNamespaceOrType ( string name, int arity, Mono.CSharp.Location loc, bool ignore_cs0104 ) : Mono.CSharp.FullNamedExpression
NamespaceEntry ( ModuleContainer ctx, NamespaceEntry parent, Mono.CSharp.CompilationUnit file, string name ) : System
Populate ( List source_using_aliases, List source_using_clauses ) : void
Reset ( ) : void
ToString ( ) : string
VerifyAllUsing ( ) : void

Used to validate that all the using clauses are correct after we are finished parsing all the files.

VerifyUsing ( ) : void

Used to validate that all the using clauses are correct after we are finished parsing all the files.

Private Methods

Method Description
GetUsingTable ( ) : Mono.CSharp.Namespace[]
Lookup ( string name, int arity, Mono.CSharp.Location loc, bool ignore_cs0104 ) : Mono.CSharp.FullNamedExpression
MsgtryPkg ( string s ) : void
MsgtryRef ( string s ) : void
NamespaceEntry ( ModuleContainer ctx, NamespaceEntry parent, Mono.CSharp.CompilationUnit file, Namespace ns, bool slave ) : System

Method Details

AddUsing() public method

Records a new namespace for resolving name references
public AddUsing ( MemberName name, Mono.CSharp.Location loc ) : void
name MemberName
loc Mono.CSharp.Location
return void

AddUsingAlias() public method

public AddUsingAlias ( UsingAliasEntry uae ) : void
uae UsingAliasEntry
return void

AddUsingAlias() public method

public AddUsingAlias ( string alias, MemberName name, Mono.CSharp.Location loc ) : void
alias string
name MemberName
loc Mono.CSharp.Location
return void

AddUsingExternalAlias() public method

public AddUsingExternalAlias ( string alias, Mono.CSharp.Location loc, Report Report ) : void
alias string
loc Mono.CSharp.Location
Report Report
return void

CompletionGetTypesStartingWith() public method

public CompletionGetTypesStartingWith ( string prefix ) : IList
prefix string
return IList

Error_GlobalNamespaceRedefined() public static method

public static Error_GlobalNamespaceRedefined ( Mono.CSharp.Location loc, Report Report ) : void
loc Mono.CSharp.Location
Report Report
return void

Error_NamespaceNotFound() public static method

public static Error_NamespaceNotFound ( Mono.CSharp.Location loc, string name, Report Report ) : void
loc Mono.CSharp.Location
name string
Report Report
return void

Extract() public method

public Extract ( List out_using_aliases, List out_using_clauses ) : void
out_using_aliases List
out_using_clauses List
return void

GetSignatureForError() public method

public GetSignatureForError ( ) : string
return string

LookupExtensionMethod() public method

public LookupExtensionMethod ( System.TypeSpec extensionType, string name, int arity, NamespaceEntry &scope ) : IList
extensionType System.TypeSpec
name string
arity int
scope NamespaceEntry
return IList

LookupNamespaceAlias() public method

public LookupNamespaceAlias ( string name ) : Mono.CSharp.FullNamedExpression
name string
return Mono.CSharp.FullNamedExpression

LookupNamespaceOrType() public method

public LookupNamespaceOrType ( string name, int arity, Mono.CSharp.Location loc, bool ignore_cs0104 ) : Mono.CSharp.FullNamedExpression
name string
arity int
loc Mono.CSharp.Location
ignore_cs0104 bool
return Mono.CSharp.FullNamedExpression

NamespaceEntry() public method

public NamespaceEntry ( ModuleContainer ctx, NamespaceEntry parent, Mono.CSharp.CompilationUnit file, string name ) : System
ctx ModuleContainer
parent NamespaceEntry
file Mono.CSharp.CompilationUnit
name string
return System

Populate() public method

public Populate ( List source_using_aliases, List source_using_clauses ) : void
source_using_aliases List
source_using_clauses List
return void

Reset() public static method

public static Reset ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

VerifyAllUsing() static public method

Used to validate that all the using clauses are correct after we are finished parsing all the files.
static public VerifyAllUsing ( ) : void
return void

VerifyUsing() public method

Used to validate that all the using clauses are correct after we are finished parsing all the files.
public VerifyUsing ( ) : void
return void

Property Details

DeclarationFound public property

public bool DeclarationFound
return bool

IsImplicit public property

public bool IsImplicit
return bool

SlaveDeclSpace public property

public DeclSpace,Mono.CSharp SlaveDeclSpace
return DeclSpace