__construct()
getLineNumber()
getName()
$content
$line_number
$type
Iterator class responsible for navigating through a list of Tokens.
This class uses practices that are not considered best practice because they are faster. Many of those can be attributed to 'Micro-optimalization' but this class is invoked thus many times that this matters a great deal.
| category | phpDocumentor |
|---|---|
| package | Reflection |
| author | Mike van Riel |
| license | MIT |
| link | http://phpdoc.org |
__construct(string | \mixed[] $content, int | null $type, int $line)
string\mixed[]The string content of the token or the 3 element notation used by the Tokenizer/ext
intnullIf not literal, the type id as defined by the T_* constants.
intLine number where the token occurs.
getLineNumber() : int
intgetName() : string | null
stringnull
$content : string
$line_number : int
$type : int | null