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
Mostrar archivo Open project: iolevel/peachpie

Private Properties

Property Type Description
GetDeclaredInterfaces ImmutableArray
GetFieldsToEmit IEnumerable
GetInterfacesToEmit ImmutableArray
Substitute TypeWithModifiers

Public Methods

Method Description
GetMembers ( ) : ImmutableArray
GetMembers ( string name ) : ImmutableArray
GetTypeMembers ( ) : ImmutableArray
GetTypeMembers ( string name ) : ImmutableArray

Private Methods

Method 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 method

public GetMembers ( ) : ImmutableArray
return ImmutableArray

GetMembers() public method

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

GetTypeMembers() public method

public GetTypeMembers ( ) : ImmutableArray
return ImmutableArray

GetTypeMembers() public method

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