C# Class Pchp.Core.PhpValue.TypeTable

Methods table for PhpValue instance.
Afficher le fichier Open project: iolevel/peachpie

Méthodes publiques

Свойство Type Description
AliasTable AliasTable
ArrayTable ArrayTable
BoolTable BoolTable
ClassTable ClassTable
DoubleTable DoubleTable
LongTable LongTable
NullTable NullTable
StringTable StringTable
WritableStringTable TypeTable

Méthodes publiques

Méthode Description
Accept ( PhpValue &me, PhpVariableVisitor visitor ) : void

Calls corresponding Accept method on visitor.

AsCallable ( PhpValue &me ) : IPhpCallable

Gets callable wrapper for dynamic object invocation.

AsObject ( PhpValue &me ) : object

Gets underlaying class instance or null.

Compare ( PhpValue &me, PhpValue right ) : int

Compares two value operands.

DeepCopy ( PhpValue &me ) : PhpValue

Creates a deep copy of PHP variable.

DisplayString ( PhpValue &me ) : string

Debug textual representation of the value.

EnsureAlias ( PhpValue &me ) : PhpAlias

Ensures the value as an alias. In case it isn't, the value is aliased.

EnsureArray ( PhpValue &me ) : IPhpArray

Ensures the value is a PHP array. In case it isn't, creates PhpArray according to PHP semantics. In case current value is empty, replaces current value with newly created array.

EnsureObject ( PhpValue &me ) : object

Ensures the value is a class object. In case it isn't, creates stdClass according to PHP semantics. In case current value is empty, replaces current value with newly created stdClass.

GetForeachEnumerator ( PhpValue &me, bool aliasedValues, RuntimeTypeHandle caller ) : IPhpEnumerator

Gets enumerator object used within foreach statement.

IsEmpty ( PhpValue &me ) : bool
StrictEquals ( PhpValue &me, PhpValue right ) : bool

Performs strict comparison.

ToArray ( PhpValue &me ) : PhpArray

Converts value to an array.

ToBoolean ( PhpValue &me ) : bool
ToClass ( PhpValue &me ) : object
ToDouble ( PhpValue &me ) : double
ToIntStringKey ( PhpValue &me ) : IntStringKey
ToLong ( PhpValue &me ) : long
ToNumber ( PhpValue &me, PhpNumber &number ) : Convert.NumberInfo
ToString ( PhpValue &me, Context ctx ) : string
ToStringOrThrow ( PhpValue &me, Context ctx ) : string

Method Details

Accept() public abstract méthode

Calls corresponding Accept method on visitor.
public abstract Accept ( PhpValue &me, PhpVariableVisitor visitor ) : void
me PhpValue Reference to this.
visitor PhpVariableVisitor Visitor to be called. Cannot be null.
Résultat void

AsCallable() public méthode

Gets callable wrapper for dynamic object invocation.
public AsCallable ( PhpValue &me ) : IPhpCallable
me PhpValue
Résultat IPhpCallable

AsObject() public méthode

Gets underlaying class instance or null.
public AsObject ( PhpValue &me ) : object
me PhpValue
Résultat object

Compare() public abstract méthode

Compares two value operands.
public abstract Compare ( PhpValue &me, PhpValue right ) : int
me PhpValue Reference to self, representing the left operand.
right PhpValue The right operand.
Résultat int

DeepCopy() public méthode

Creates a deep copy of PHP variable.
public DeepCopy ( PhpValue &me ) : PhpValue
me PhpValue
Résultat PhpValue

DisplayString() public abstract méthode

Debug textual representation of the value.
public abstract DisplayString ( PhpValue &me ) : string
me PhpValue
Résultat string

EnsureAlias() public méthode

Ensures the value as an alias. In case it isn't, the value is aliased.
public EnsureAlias ( PhpValue &me ) : PhpAlias
me PhpValue
Résultat PhpAlias

EnsureArray() public abstract méthode

Ensures the value is a PHP array. In case it isn't, creates PhpArray according to PHP semantics. In case current value is empty, replaces current value with newly created array.
public abstract EnsureArray ( PhpValue &me ) : IPhpArray
me PhpValue
Résultat IPhpArray

EnsureObject() public abstract méthode

Ensures the value is a class object. In case it isn't, creates stdClass according to PHP semantics. In case current value is empty, replaces current value with newly created stdClass.
public abstract EnsureObject ( PhpValue &me ) : object
me PhpValue
Résultat object

GetForeachEnumerator() public abstract méthode

Gets enumerator object used within foreach statement.
public abstract GetForeachEnumerator ( PhpValue &me, bool aliasedValues, RuntimeTypeHandle caller ) : IPhpEnumerator
me PhpValue
aliasedValues bool
caller System.RuntimeTypeHandle
Résultat IPhpEnumerator

IsEmpty() public méthode

public IsEmpty ( PhpValue &me ) : bool
me PhpValue
Résultat bool

StrictEquals() public abstract méthode

Performs strict comparison.
public abstract StrictEquals ( PhpValue &me, PhpValue right ) : bool
me PhpValue Reference to self, representing the left operand.
right PhpValue The right operand.
Résultat bool

ToArray() public abstract méthode

Converts value to an array.
public abstract ToArray ( PhpValue &me ) : PhpArray
me PhpValue
Résultat PhpArray

ToBoolean() public abstract méthode

public abstract ToBoolean ( PhpValue &me ) : bool
me PhpValue
Résultat bool

ToClass() public abstract méthode

public abstract ToClass ( PhpValue &me ) : object
me PhpValue
Résultat object

ToDouble() public abstract méthode

public abstract ToDouble ( PhpValue &me ) : double
me PhpValue
Résultat double

ToIntStringKey() public abstract méthode

public abstract ToIntStringKey ( PhpValue &me ) : IntStringKey
me PhpValue
Résultat IntStringKey

ToLong() public abstract méthode

public abstract ToLong ( PhpValue &me ) : long
me PhpValue
Résultat long

ToNumber() public abstract méthode

public abstract ToNumber ( PhpValue &me, PhpNumber &number ) : Convert.NumberInfo
me PhpValue
number PhpNumber
Résultat Convert.NumberInfo

ToString() public abstract méthode

public abstract ToString ( PhpValue &me, Context ctx ) : string
me PhpValue
ctx Context
Résultat string

ToStringOrThrow() public abstract méthode

public abstract ToStringOrThrow ( PhpValue &me, Context ctx ) : string
me PhpValue
ctx Context
Résultat string

Property Details

AliasTable public_oe static_oe property

public static AliasTable AliasTable
Résultat AliasTable

ArrayTable public_oe static_oe property

public static ArrayTable ArrayTable
Résultat ArrayTable

BoolTable public_oe static_oe property

public static BoolTable BoolTable
Résultat BoolTable

ClassTable public_oe static_oe property

public static ClassTable ClassTable
Résultat ClassTable

DoubleTable public_oe static_oe property

public static DoubleTable DoubleTable
Résultat DoubleTable

LongTable public_oe static_oe property

public static LongTable LongTable
Résultat LongTable

NullTable public_oe static_oe property

public static NullTable NullTable
Résultat NullTable

StringTable public_oe static_oe property

public static StringTable StringTable
Résultat StringTable

WritableStringTable public_oe static_oe property

public static TypeTable WritableStringTable
Résultat TypeTable