mediatekformation

Cursor
in package

Table of Contents

$position  : int
$tokens  : array<string|int, Token>
__construct()  : mixed
next()  : Token|null
previous()  : Token|null
subCursor()  : self

Properties

$position

private int $position = -1

Methods

__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

Search results