C# Class Pchp.CodeAnalysis.Symbols.AbstractTypeMap

Abstract base class for mutable and immutable type maps.
Afficher le fichier Open project: iolevel/peachpie Class Usage Examples

Méthodes protégées

Méthode Description
SubstituteDynamicType ( ) : TypeSymbol
SubstituteTypeParameter ( TypeParameterSymbol typeParameter ) : TypeWithModifiers

Private Methods

Méthode Description
IsPossiblyByRefTypeParameter ( TypeSymbol type ) : bool
SubstituteArrayType ( ArrayTypeSymbol t ) : ArrayTypeSymbol
SubstituteCustomModifiers ( ImmutableArray customModifiers ) : ImmutableArray
SubstituteCustomModifiers ( TypeSymbol type, ImmutableArray customModifiers ) : ImmutableArray
SubstituteMemberType ( NamedTypeSymbol previous ) : NamedTypeSymbol

Substitute for a type declaration. May use alpha renaming if the container is substituted.

SubstituteNamedType ( NamedTypeSymbol previous ) : NamedTypeSymbol

SubstType, but for NamedTypeSymbols only. This is used for concrete types, so no alpha substitution appears in the result.

SubstituteNamedTypes ( ImmutableArray original ) : ImmutableArray

Like SubstTypes, but for NamedTypeSymbols.

SubstituteType ( TypeSymbol previous ) : TypeWithModifiers

Perform the substitution on the given type. Each occurrence of the type parameter is replaced with its corresponding type argument from the map.

SubstituteTypeParameters ( ImmutableArray original ) : ImmutableArray
SubstituteTypes ( ImmutableArray original ) : ImmutableArray
SubstituteTypesDistinctWithoutModifiers ( ImmutableArray original, ArrayBuilder result ) : void

Substitute types, and return the results without duplicates, preserving the original order.

SubstituteTypesWithoutModifiers ( ImmutableArray original ) : ImmutableArray

Method Details

SubstituteDynamicType() protected méthode

protected SubstituteDynamicType ( ) : TypeSymbol
Résultat TypeSymbol

SubstituteTypeParameter() protected méthode

protected SubstituteTypeParameter ( TypeParameterSymbol typeParameter ) : TypeWithModifiers
typeParameter TypeParameterSymbol
Résultat TypeWithModifiers