| Methods |
public
|
__construct(ParserMode $mode = ParserMode::Permissive, ParseLimits $limits = new ParseLimits())
|
#
|
public
|
build(iterable<ContentLine|array{string, string, string, int}> $lines): Generator<string, Component>
Parameters
| $lines |
content lines, or rows of Tokenizer::rows()
|
|
#
|
public
|
invalidLine(string $line, int $number): void
Report a line that is not a content line.
Report a line that is not a content line.
|
#
|
public
|
recover(string $code, string $message, ?int $line = null, ?string $property = null): void
Report a problem found by another layer: an exception in strict mode, a warning otherwise.
Report a problem found by another layer: an exception in strict mode, a warning otherwise.
|
#
|
public
|
warn(string $code, string $message, ?int $line = null, ?string $property = null): void
Report a repaired problem found by another layer.
Report a repaired problem found by another layer.
|
#
|
public
|
calendarProperties(): list<Property>
Properties of the calendar being read.
Properties of the calendar being read.
|
#
|
public
|
warnings(): list<ParseWarning>
|
#
|