Doctrine


Doctrine\ORM\Query\AST\ArithmeticFactor
/Doctrine/ORM/Query/AST/ArithmeticFactor.php at line 35

Class ArithmeticFactor

Class:ArithmeticFactor - Superclass: Node
Node
⌊ ArithmeticFactor

public class ArithmeticFactor
extends Node

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

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Version:
$Revision: 3938 $
Author:
Guilherme Blanco
Jonathan Wage
Roman Borschel

Field Summary
ArithmeticPrimary

$arithmeticPrimary

null|boolean NULL represents no sign, TRUE means positive and FALSE means negative sign

$sign

Constructor Summary

ArithmeticFactor(mixed arithmeticPrimary, mixed sign)

Method Summary
void

dispatch(mixed sqlWalker, mixed walker, $walker )

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

void

isNegativeSigned()

void

isPositiveSigned()

Methods inherited from Doctrine\ORM\Query\AST\Node
dispatch, dump

Field Detail

/Doctrine/ORM/Query/AST/ArithmeticFactor.php at line 40

arithmeticPrimary

public ArithmeticPrimary $arithmeticPrimary


/Doctrine/ORM/Query/AST/ArithmeticFactor.php at line 45

sign

public null|boolean NULL represents no sign, TRUE means positive and FALSE means negative sign $sign


Constructor Detail

/Doctrine/ORM/Query/AST/ArithmeticFactor.php at line 47

ArithmeticFactor

public ArithmeticFactor(mixed arithmeticPrimary, mixed sign)

Method Detail

/Doctrine/ORM/Query/AST/ArithmeticFactor.php at line 63

dispatch

public void dispatch(mixed sqlWalker, mixed walker, $walker )

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

Implementation is not mandatory for all nodes.


/Doctrine/ORM/Query/AST/ArithmeticFactor.php at line 58

isNegativeSigned

public void isNegativeSigned()

/Doctrine/ORM/Query/AST/ArithmeticFactor.php at line 53

isPositiveSigned

public void isPositiveSigned()

Doctrine