Prepass
in package
Read onlyYes
FinalYes
Facts about the whole input that rules need before they see the first record (SPEC section 7, "Streaming conversion"): from the document here, from a lexer-only pass in convertFile().
Table of Contents
Properties
- $languages : array<string|int, mixed>
- $submissions : array<string|int, mixed>
- $xrefs : array<string|int, mixed>
Methods
- __construct() : mixed
- of() : self
Properties
$languages
public
array<string|int, mixed>
$languages
= []
$submissions
public
array<string|int, mixed>
$submissions
= []
$xrefs
public
array<string|int, mixed>
$xrefs
Methods
__construct()
public
__construct(array<string, true> $xrefs[, array<int, int> $submissions = [] ][, array<int, string> $languages = [] ]) : mixed
Parameters
- $xrefs : array<string, true>
-
xrefs of all records, in document order
- $submissions : array<int, int> = []
-
the SUBN records, which 7.0 keeps in HEAD
- $languages : array<int, string> = []
-
values of HEAD.LANG and SUBM.LANG, the only LANG structures of 5.x: whether 7.0 needs _PHRASE in HEAD.SCHMA
of()
public
static of(Document $document) : self
Parameters
- $document : Document