C# 클래스 Pchp.CodeAnalysis.Symbols.AbstractTypeMap

Abstract base class for mutable and immutable type maps.
파일 보기 프로젝트 열기: iolevel/peachpie 1 사용 예제들

보호된 메소드들

메소드 설명
SubstituteDynamicType ( ) : TypeSymbol
SubstituteTypeParameter ( TypeParameterSymbol typeParameter ) : TypeWithModifiers

비공개 메소드들

메소드 설명
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

메소드 상세

SubstituteDynamicType() 보호된 메소드

protected SubstituteDynamicType ( ) : TypeSymbol
리턴 TypeSymbol

SubstituteTypeParameter() 보호된 메소드

protected SubstituteTypeParameter ( TypeParameterSymbol typeParameter ) : TypeWithModifiers
typeParameter TypeParameterSymbol
리턴 TypeWithModifiers