Simple lexer for docblock annotations.
@author Benjamin Eberlei <kontakt@beberlei.de> @author Guilherme Blanco <guilhermeblanco@hotmail.com> @author Jonathan Wage <jonwage@gmail.com> @author Roman Borschel <roman@code-factory.org> @author Johannes M. Schmitt <schmittjoh@gmail.com>
Expanded class hierarchy of DocLexer
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DocLexer:: |
protected | function |
Lexical catchable patterns. Overrides Lexer:: |
|
DocLexer:: |
protected | function |
Lexical non-catchable patterns. Overrides Lexer:: |
|
DocLexer:: |
protected | function |
Overrides Lexer:: |
|
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
DocLexer:: |
constant | |||
Lexer:: |
public | property | ||
Lexer:: |
private | property | ||
Lexer:: |
private | property | ||
Lexer:: |
public | property | ||
Lexer:: |
private | property | ||
Lexer:: |
public | function | Gets the literal for a given token. | |
Lexer:: |
public | function | Peeks at the next token, returns it and immediately resets the peek. | |
Lexer:: |
public | function | Checks if given value is identical to the given token | |
Lexer:: |
public | function | Checks whether a given token matches the current lookahead. | |
Lexer:: |
public | function | Checks whether any of the given tokens matches the current lookahead | |
Lexer:: |
public | function | Moves to the next token in the input string. | |
Lexer:: |
public | function | Moves the lookahead token forward. | |
Lexer:: |
public | function | Resets the lexer. | |
Lexer:: |
public | function | Resets the peek pointer to 0. | |
Lexer:: |
public | function | Resets the lexer position on the input to the given position. | |
Lexer:: |
protected | function | Scans the input string for tokens. | |
Lexer:: |
public | function | Sets the input data to be tokenized. | |
Lexer:: |
public | function | Tells the lexer to skip input tokens until it sees a token with the given value. |