Doctrine


Doctrine\ORM\Query\AST\Literal
/Doctrine/ORM/Query/AST/Literal.php at line 5

Class Literal

Class:Literal - Superclass: Node
Node
⌊ Literal

public class Literal
extends Node

Abstract class of an AST node

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
final int

BOOLEAN

final int

NUMERIC

final int

STRING

mixed

$type

mixed

$value

Constructor Summary

Literal(mixed type, mixed value)

Method Summary
void

dispatch(mixed walker, $walker )

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

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

Field Detail

/Doctrine/ORM/Query/AST/Literal.php at line 8

BOOLEAN

public final int BOOLEAN = 2

/Doctrine/ORM/Query/AST/Literal.php at line 9

NUMERIC

public final int NUMERIC = 3

/Doctrine/ORM/Query/AST/Literal.php at line 7

STRING

public final int STRING = 1

/Doctrine/ORM/Query/AST/Literal.php at line 11

type

public mixed $type

/Doctrine/ORM/Query/AST/Literal.php at line 12

value

public mixed $value

Constructor Detail

/Doctrine/ORM/Query/AST/Literal.php at line 14

Literal

public Literal(mixed type, mixed value)

Method Detail

/Doctrine/ORM/Query/AST/Literal.php at line 20

dispatch

public void dispatch(mixed walker, $walker )

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

Implementation is not mandatory for all nodes.


Doctrine