ParseResult

The grounded document, everything that could not be grounded, and the settings used.

Usage

Source

ParseResult(
    document,
    issues,
    settings,
)

Parameter Attributes

document: Document
issues: tuple[ParseIssue, …]
settings: ParseOptions

Attributes

Name Description
ok True if the output parsed without any issue.

ok

True if the output parsed without any issue.

ok: bool

Methods

Name Description
raise_for_errors() Raise ParseError listing every issue, if there are any.

raise_for_errors()

Raise ParseError listing every issue, if there are any.

Usage

Source

raise_for_errors()