ArithmeticFactor
extends Node
in package
ArithmeticFactor ::= [("+" | "-")] ArithmeticPrimary
Tags
Table of Contents
Properties
- $arithmeticPrimary : mixed
- $sign : bool|null
- NULL represents no sign, TRUE means positive and FALSE means negative sign.
Methods
- __construct() : mixed
- __toString() : string
- Dumps the AST Node into a string representation for information purpose only.
- dispatch() : string
- Double-dispatch method, supposed to dispatch back to the walker.
- dump() : string
- isNegativeSigned() : bool
- isPositiveSigned() : bool
Properties
$arithmeticPrimary
public
mixed
$arithmeticPrimary
$sign
NULL represents no sign, TRUE means positive and FALSE means negative sign.
public
bool|null
$sign
Methods
__construct()
public
__construct(mixed $arithmeticPrimary[, bool|null $sign = null ]) : mixed
Parameters
- $arithmeticPrimary : mixed
- $sign : bool|null = null
__toString()
Dumps the AST Node into a string representation for information purpose only.
public
__toString() : string
Return values
stringdispatch()
Double-dispatch method, supposed to dispatch back to the walker.
public
dispatch(mixed $sqlWalker) : string
Parameters
- $sqlWalker : mixed
Return values
stringdump()
public
dump(mixed $value) : string
Parameters
- $value : mixed
Return values
stringisNegativeSigned()
public
isNegativeSigned() : bool
Return values
boolisPositiveSigned()
public
isPositiveSigned() : bool