class ArithmeticFactor extends Node (View source)

ArithmeticFactor ::= [("+" | "-")] ArithmeticPrimary

Properties

mixed $arithmeticPrimary
null|boolean $sign NULL represents no sign, TRUE means positive and FALSE means negative sign.

Methods

string
dispatch($sqlWalker)

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
__construct(mixed $arithmeticPrimary, null|bool $sign = null)

No description

bool
isPositiveSigned()

No description

bool
isNegativeSigned()

No description

Details

string dispatch($sqlWalker)

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

Implementation is not mandatory for all nodes.

Parameters

$sqlWalker

Return Value

string

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

__construct(mixed $arithmeticPrimary, null|bool $sign = null)

Parameters

mixed $arithmeticPrimary
null|bool $sign

bool isPositiveSigned()

Return Value

bool

bool isNegativeSigned()

Return Value

bool