class ArithmeticExpression extends Node (View source)

ArithmeticExpression ::= SimpleArithmeticExpression | "(" Subselect ")"

Properties

SimpleArithmeticExpression|null $simpleArithmeticExpression
Subselect|null $subselect

Methods

dispatch(SqlWalker $walker)

Double-dispatch method, supposed to dispatch back to the walker.

string
__toString()

Dumps the AST Node into a string representation for information purpose only.

from Node
string
dump(object $obj)

No description

from Node
bool
isSimpleArithmeticExpression()

No description

bool
isSubselect()

No description

Details

dispatch(SqlWalker $walker)

Double-dispatch method, supposed to dispatch back to the walker.

Implementation is not mandatory for all nodes.

Parameters

SqlWalker $walker

Exceptions

ASTException

string __toString()

Dumps the AST Node into a string representation for information purpose only.

Return Value

string

string dump(object $obj)

Parameters

object $obj

Return Value

string

bool isSimpleArithmeticExpression()

Return Value

bool

bool isSubselect()

Return Value

bool