C# Class Pchp.CodeAnalysis.Symbols.PhpTypeSymbolExtensions

ファイルを表示 Open project: iolevel/peachpie

Public Methods

Method Description
ResolveClassConstant ( this t, string name ) : FieldSymbol

Tries to find class constant with given name. Lookups through the class inheritance. Does not handle member visibility.

ResolveStaticField ( this t, string name ) : FieldSymbol

Tries to find static field with given name. Lookups through the class inheritance. Does not handle member visibility.

Private Methods

Method Description
GetClassConstant ( INamedTypeSymbol t, string name ) : FieldSymbol
GetStaticField ( INamedTypeSymbol t, string name ) : FieldSymbol

Method Details

ResolveClassConstant() public static method

Tries to find class constant with given name. Lookups through the class inheritance. Does not handle member visibility.
public static ResolveClassConstant ( this t, string name ) : FieldSymbol
t this
name string
return FieldSymbol

ResolveStaticField() public static method

Tries to find static field with given name. Lookups through the class inheritance. Does not handle member visibility.
public static ResolveStaticField ( this t, string name ) : FieldSymbol
t this
name string
return FieldSymbol