You are here

abstract protected function AbstractLexer::getType in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php \Doctrine\Common\Lexer\AbstractLexer::getType()

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

Parameters

string $value:

Return value

integer

2 calls to AbstractLexer::getType()
AbstractLexer::isA in modules/providers/service_container_annotation_discovery/lib/Doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php
Checks if given value is identical to the given token
AbstractLexer::scan in modules/providers/service_container_annotation_discovery/lib/Doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php
Scans the input string for tokens.
1 method overrides AbstractLexer::getType()
DocLexer::getType in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/DocLexer.php
Retrieve token type. Also processes the token value if necessary.

File

modules/providers/service_container_annotation_discovery/lib/Doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php, line 264

Class

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

Namespace

Doctrine\Common\Lexer

Code

protected abstract function getType(&$value);