C# Class Pchp.Core.Reflection.TypeFields

Collection of class fields declared in type.
Afficher le fichier Open project: iolevel/peachpie

Méthodes publiques

Méthode Description
GetConstantValue ( string name, Context ctx ) : object

Resolves a constant value in given context.

HasField ( string name ) : FieldKind

Gets value indicating the class contains a field with specified name.

Private Methods

Méthode Description
Bind ( string name, Type classCtx, Expression target, Expression ctx, FieldKind kind ) : Expression

Gets Expression representing field value.

CreateStaticsGetter ( Type _statics ) : object>.Func
EnsureStaticsGetter ( Type type ) : object>.Func
TypeFields ( Type type ) : Pchp.Core.Dynamic

Method Details

GetConstantValue() public méthode

Resolves a constant value in given context.
public GetConstantValue ( string name, Context ctx ) : object
name string
ctx Context
Résultat object

HasField() public méthode

Gets value indicating the class contains a field with specified name.
public HasField ( string name ) : FieldKind
name string
Résultat FieldKind