FileRule
in package
implements
Rule
FinalYes
5.5.5 rules for the file as a whole that its grammar does not express: the file starts with a byte order mark (KV1104, a warning: the BOM carries no data), and the SUBM record directly follows HEAD (KV2004).
Table of Contents
Interfaces
Methods
- begin() : void
- end() : array<int, Diagnostic>
- record() : void
- One record: its document (the whole one, or the record's own) and node, and its key in $records.
Methods
begin()
public
begin(Records $records, Profile $profile) : void
Parameters
end()
public
end() : array<int, Diagnostic>
Return values
array<int, Diagnostic> —in the order found
record()
One record: its document (the whole one, or the record's own) and node, and its key in $records.
public
record(Document $document, int $id, int $key) : void
Parameters
- $document : Document
- $id : int
- $key : int