C# Class Pchp.Core.PhpValue.TypeTable

Methods table for PhpValue instance.
Mostrar archivo Open project: iolevel/peachpie

Public Properties

Property Type Description
AliasTable AliasTable
ArrayTable ArrayTable
BoolTable BoolTable
ClassTable ClassTable
DoubleTable DoubleTable
LongTable LongTable
NullTable NullTable
StringTable StringTable
WritableStringTable TypeTable

Public Methods

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

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.
return void

AsCallable() public method

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

AsObject() public method

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

Compare() public abstract method

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.
return int

DeepCopy() public method

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

DisplayString() public abstract method

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

EnsureAlias() public method

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

EnsureArray() public abstract method

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

EnsureObject() public abstract method

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

GetForeachEnumerator() public abstract method

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

IsEmpty() public method

public IsEmpty ( PhpValue &me ) : bool
me PhpValue
return bool

StrictEquals() public abstract method

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.
return bool

ToArray() public abstract method

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

ToBoolean() public abstract method

public abstract ToBoolean ( PhpValue &me ) : bool
me PhpValue
return bool

ToClass() public abstract method

public abstract ToClass ( PhpValue &me ) : object
me PhpValue
return object

ToDouble() public abstract method

public abstract ToDouble ( PhpValue &me ) : double
me PhpValue
return double

ToIntStringKey() public abstract method

public abstract ToIntStringKey ( PhpValue &me ) : IntStringKey
me PhpValue
return IntStringKey

ToLong() public abstract method

public abstract ToLong ( PhpValue &me ) : long
me PhpValue
return long

ToNumber() public abstract method

public abstract ToNumber ( PhpValue &me, PhpNumber &number ) : Convert.NumberInfo
me PhpValue
number PhpNumber
return Convert.NumberInfo

ToString() public abstract method

public abstract ToString ( PhpValue &me, Context ctx ) : string
me PhpValue
ctx Context
return string

ToStringOrThrow() public abstract method

public abstract ToStringOrThrow ( PhpValue &me, Context ctx ) : string
me PhpValue
ctx Context
return string

Property Details

AliasTable public_oe static_oe property

public static AliasTable AliasTable
return AliasTable

ArrayTable public_oe static_oe property

public static ArrayTable ArrayTable
return ArrayTable

BoolTable public_oe static_oe property

public static BoolTable BoolTable
return BoolTable

ClassTable public_oe static_oe property

public static ClassTable ClassTable
return ClassTable

DoubleTable public_oe static_oe property

public static DoubleTable DoubleTable
return DoubleTable

LongTable public_oe static_oe property

public static LongTable LongTable
return LongTable

NullTable public_oe static_oe property

public static NullTable NullTable
return NullTable

StringTable public_oe static_oe property

public static StringTable StringTable
return StringTable

WritableStringTable public_oe static_oe property

public static TypeTable WritableStringTable
return TypeTable