Doctrine


Doctrine\Common\Annotations\Lexer
/Doctrine/Common/Annotations/Lexer.php at line 35

Class Lexer

Class:Lexer - Superclass: Doctrine
Doctrine
⌊ Lexer

public class Lexer
extends Doctrine

Simple lexer for docblock annotations.

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

T_AT

final int

T_CLOSE_CURLY_BRACES

final int

T_CLOSE_PARENTHESIS

final int

T_COMMA

final int

T_EQUALS

final int

T_FALSE

final int

T_FLOAT

final int

T_IDENTIFIER

final int

T_INTEGER

final int

T_NAMESPACE_SEPARATOR

final int

T_NONE

final int

T_OPEN_CURLY_BRACES

final int

T_OPEN_PARENTHESIS

final int

T_STRING

final int

T_TRUE

Method Summary
protected void

getCatchablePatterns()

protected void

getNonCatchablePatterns()

Field Detail

/Doctrine/Common/Annotations/Lexer.php at line 43

T_AT

public final int T_AT = 101

/Doctrine/Common/Annotations/Lexer.php at line 44

T_CLOSE_CURLY_BRACES

public final int T_CLOSE_CURLY_BRACES = 102

/Doctrine/Common/Annotations/Lexer.php at line 45

T_CLOSE_PARENTHESIS

public final int T_CLOSE_PARENTHESIS = 103

/Doctrine/Common/Annotations/Lexer.php at line 46

T_COMMA

public final int T_COMMA = 104

/Doctrine/Common/Annotations/Lexer.php at line 47

T_EQUALS

public final int T_EQUALS = 105

/Doctrine/Common/Annotations/Lexer.php at line 48

T_FALSE

public final int T_FALSE = 106

/Doctrine/Common/Annotations/Lexer.php at line 41

T_FLOAT

public final int T_FLOAT = 5

/Doctrine/Common/Annotations/Lexer.php at line 38

T_IDENTIFIER

public final int T_IDENTIFIER = 2

/Doctrine/Common/Annotations/Lexer.php at line 39

T_INTEGER

public final int T_INTEGER = 3

/Doctrine/Common/Annotations/Lexer.php at line 49

T_NAMESPACE_SEPARATOR

public final int T_NAMESPACE_SEPARATOR = 107

/Doctrine/Common/Annotations/Lexer.php at line 37

T_NONE

public final int T_NONE = 1

/Doctrine/Common/Annotations/Lexer.php at line 50

T_OPEN_CURLY_BRACES

public final int T_OPEN_CURLY_BRACES = 108

/Doctrine/Common/Annotations/Lexer.php at line 51

T_OPEN_PARENTHESIS

public final int T_OPEN_PARENTHESIS = 109

/Doctrine/Common/Annotations/Lexer.php at line 40

T_STRING

public final int T_STRING = 4

/Doctrine/Common/Annotations/Lexer.php at line 52

T_TRUE

public final int T_TRUE = 110

Method Detail

/Doctrine/Common/Annotations/Lexer.php at line 57

getCatchablePatterns

protected void getCatchablePatterns()

Inheritdoc.

/Doctrine/Common/Annotations/Lexer.php at line 69

getNonCatchablePatterns

protected void getNonCatchablePatterns()

Inheritdoc.

Doctrine