C# Class Pchp.CodeAnalysis.TypeRefFactory

Exibir arquivo Open project: iolevel/peachpie Class Usage Examples

Public Methods

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

public static Create ( ConstantValue c ) : ITypeRef
c ConstantValue
return ITypeRef

CreateMask() public static method

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

CreateMask() public static method

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

CreateTypeRef() public static method

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
return ITypeRef

CreateTypeRefContext() public static method

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