Script Parser - Object Dereferencing

This class enables the script parser to dereference and invoke function calls on objects.

Class Methods

The following methods can be invoked on instances of this class.

getSymbol()

Returns the text representation of the symbol for this operation

evaluate()

Evaluates the object dereference

toString(bool bEvalVariables)

Converts the expression into a string representation

__construct(mixed op1, mixed op2)

Cconstructor

setOperand1(\Framework\DOM\Features\Scripting\ExpressionParts\ABC pOperand1)

Sets the fisrt operand

getOperand1()

Returns the first operand

setOperand2(\Framework\DOM\Features\Scripting\ExpressionParts\ABC pOperand2)

Sets the second operand

getOperand2()

Returns the second operand

findOperatorWithNullOperand()

Locates the operand which is null first

__toString()

Converts the expression into a string representation

checkValueObject(mixed strValueName, mixed strValue)

Checks to make sure a value is able to be used

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class