abstract protected function AbstractLexer::getType in Plug 7
Retrieve token type. Also processes the token value if necessary.
Parameters
string $value:
Return value
integer
2 calls to AbstractLexer::getType()
- AbstractLexer::isA in lib/
doctrine/ lexer/ lib/ Doctrine/ Common/ Lexer/ AbstractLexer.php - Checks if given value is identical to the given token.
- AbstractLexer::scan in lib/
doctrine/ lexer/ lib/ Doctrine/ Common/ Lexer/ AbstractLexer.php - Scans the input string for tokens.
1 method overrides AbstractLexer::getType()
- DocLexer::getType in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocLexer.php - Retrieve token type. Also processes the token value if necessary.
File
- lib/
doctrine/ lexer/ lib/ Doctrine/ Common/ Lexer/ AbstractLexer.php, line 326
Class
- AbstractLexer
- Base class for writing simple lexers, i.e. for creating small DSLs.
Namespace
Doctrine\Common\LexerCode
protected abstract function getType(&$value);