C# Class Pchp.CodeAnalysis.Symbols.PENamespaceSymbol

The base class to represent a namespace imported from a PE/module. Namespaces that differ only by casing in name are not merged.
Inheritance: NamespaceSymbol
Mostra file Open project: iolevel/peachpie Class Usage Examples

Protected Properties

Property Type Description
_types ImmutableArray>.Dictionary

Private Properties

Property Type Description

Public Methods

Method Description
GetMembers ( ) : ImmutableArray
GetMembers ( string name ) : ImmutableArray
GetTypeMembers ( ) : ImmutableArray
GetTypeMembers ( string name ) : ImmutableArray
GetTypeMembers ( string name, int arity ) : ImmutableArray

Protected Methods

Method Description
EnsureAllMembersLoaded ( ) : void
LazyInitializeTypes ( TypeDefinitionHandle>.IEnumerable typeGroups ) : void

Create symbols for nested types and initialize types map.

Method Details

EnsureAllMembersLoaded() protected abstract method

protected abstract EnsureAllMembersLoaded ( ) : void
return void

GetMembers() public final method

public final GetMembers ( ) : ImmutableArray
return ImmutableArray

GetMembers() public final method

public final GetMembers ( string name ) : ImmutableArray
name string
return ImmutableArray

GetTypeMembers() public final method

public final GetTypeMembers ( ) : ImmutableArray
return ImmutableArray

GetTypeMembers() public final method

public final GetTypeMembers ( string name ) : ImmutableArray
name string
return ImmutableArray

GetTypeMembers() public final method

public final GetTypeMembers ( string name, int arity ) : ImmutableArray
name string
arity int
return ImmutableArray

LazyInitializeTypes() protected method

Create symbols for nested types and initialize types map.
protected LazyInitializeTypes ( TypeDefinitionHandle>.IEnumerable typeGroups ) : void
typeGroups TypeDefinitionHandle>.IEnumerable
return void

Property Details

_types protected_oe property

A map of types immediately contained within this namespace grouped by their name (case-sensitively).
protected Dictionary> _types
return ImmutableArray>.Dictionary