Table of Contents
-
$position
: int
-
$tokens
: array<string|int, Token>
-
__construct()
: mixed
-
next()
: Token|null
-
previous()
: Token|null
-
subCursor()
: self
$position
private
int
$position
= -1
$tokens
private
array<string|int, Token>
$tokens
__construct()
public
__construct(array<string|int, Token> $tokens) : mixed
Parameters
-
$tokens
: array<string|int, Token>
-
Return values
mixed
—
next()
public
next([int|null $exceptTokenType = null ]) : Token|null
Parameters
-
$exceptTokenType
: int|null
= null
-
Return values
Token|null
—
previous()
public
previous([int|null $exceptTokenType = null ]) : Token|null
Parameters
-
$exceptTokenType
: int|null
= null
-
Return values
Token|null
—
subCursor()
public
subCursor() : self
Return values
self
—