C# Class Pchp.CodeAnalysis.TypeRefFactory

Afficher le fichier Open project: iolevel/peachpie Class Usage Examples

Méthodes publiques

Méthode Description
Create ( ConstantValue c ) : ITypeRef
CreateMask ( TypeRefContext ctx, ITypeRef tref ) : TypeRefMask
CreateMask ( TypeRefContext ctx, TypeSymbol t ) : TypeRefMask
CreateTypeRef ( TypeRefContext ctx, TypeSymbol t ) : ITypeRef

Converts CLR type symbol to TypeRef used by flow analysis.

CreateTypeRefContext ( SourceTypeSymbol containingType ) : TypeRefContext

Creates type context for a method within given type, determines naming, type context.

Method Details

Create() public static méthode

public static Create ( ConstantValue c ) : ITypeRef
c ConstantValue
Résultat ITypeRef

CreateMask() public static méthode

public static CreateMask ( TypeRefContext ctx, ITypeRef tref ) : TypeRefMask
ctx Pchp.CodeAnalysis.FlowAnalysis.TypeRefContext
tref ITypeRef
Résultat TypeRefMask

CreateMask() public static méthode

public static CreateMask ( TypeRefContext ctx, TypeSymbol t ) : TypeRefMask
ctx Pchp.CodeAnalysis.FlowAnalysis.TypeRefContext
t TypeSymbol
Résultat TypeRefMask

CreateTypeRef() public static méthode

Converts CLR type symbol to TypeRef used by flow analysis.
public static CreateTypeRef ( TypeRefContext ctx, TypeSymbol t ) : ITypeRef
ctx Pchp.CodeAnalysis.FlowAnalysis.TypeRefContext
t TypeSymbol
Résultat ITypeRef

CreateTypeRefContext() public static méthode

Creates type context for a method within given type, determines naming, type context.
public static CreateTypeRefContext ( SourceTypeSymbol containingType ) : TypeRefContext
containingType Pchp.CodeAnalysis.Symbols.SourceTypeSymbol
Résultat Pchp.CodeAnalysis.FlowAnalysis.TypeRefContext