C# Class Pchp.CodeAnalysis.Symbols.ErrorTypeSymbol

An ErrorSymbol is used when the compiler cannot determine a symbol object to return because of an error. For example, if a field is declared "Foo x;", and the type "Foo" cannot be found, an ErrorSymbol is returned when asking the field "x" what it's type is.
Inheritance: NamedTypeSymbol, IErrorTypeSymbol
Afficher le fichier Open project: iolevel/peachpie

Private Properties

Свойство Type Description
GetDeclaredInterfaces ImmutableArray
GetFieldsToEmit IEnumerable
GetInterfacesToEmit ImmutableArray
Substitute TypeWithModifiers

Méthodes publiques

Méthode Description
GetMembers ( ) : ImmutableArray
GetMembers ( string name ) : ImmutableArray
GetTypeMembers ( ) : ImmutableArray
GetTypeMembers ( string name ) : ImmutableArray

Private Methods

Méthode Description
GetDeclaredInterfaces ( ConsList basesBeingResolved ) : ImmutableArray
GetFieldsToEmit ( ) : IEnumerable
GetInterfacesToEmit ( ) : ImmutableArray
Substitute ( AbstractTypeMap typeMap ) : TypeWithModifiers

Called by AbstractTypeMap.SubstituteType to perform substitution on types with TypeKind ErrorType. The general pattern is to use the type map to perform substitution on the wrapped type, if any, and then construct a new error type symbol from the result (if there was a change).

Method Details

GetMembers() public méthode

public GetMembers ( ) : ImmutableArray
Résultat ImmutableArray

GetMembers() public méthode

public GetMembers ( string name ) : ImmutableArray
name string
Résultat ImmutableArray

GetTypeMembers() public méthode

public GetTypeMembers ( ) : ImmutableArray
Résultat ImmutableArray

GetTypeMembers() public méthode

public GetTypeMembers ( string name ) : ImmutableArray
name string
Résultat ImmutableArray