final class RelationCursor
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Tracks the unread position of one DBML relation statement.

Properties§

public string $source
public int $offset = 0

Methods§

public function __construct(public string $source, public int $offset = 0)

Opens a statement at its first character.

Parameters

$sourcestring
$offsetint
public function peek(): ?string

Private surface 1§

Implementation details, listed for orientation only.

private const IDENTIFIER = '/\G(?:`([^`]+)`|"([^"]+)"|([A-Za-z_][A-Za-z0-9_$]*))/'

Test cases 39§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 6
Other tests reaching this symbol 33

Relations§

Instantiated in 1
Method calls 20
Type declarations 1