You are here

private property AbstractLexer::$tokens in Plug 7

Array of scanned tokens.

Each token is an associative array containing three items:

  • 'value' : the string value of the token in the input string
  • 'type' : the type of the token (identifier, numeric, string, input parameter, none)
  • 'position' : the position of the token in the input string

Type: array

File

lib/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php, line 50

Class

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

Namespace

Doctrine\Common\Lexer

Code

private $tokens = array();