abstract protected function Lexer::getType

Retrieve token type. Also processes the token value if necessary.

Parameters

string $value:

Return value

integer

2 calls to Lexer::getType()
Lexer::isA in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Lexer.php
Checks if given value is identical to the given token
Lexer::scan in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Lexer.php
Scans the input string for tokens.
1 method overrides Lexer::getType()
DocLexer::getType in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/DocLexer.php

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Lexer.php, line 265

Class

Lexer
Base class for writing simple lexers, i.e. for creating small DSLs.

Namespace

Doctrine\Common

Code

protected abstract function getType(&$value);