admit_optional_parser_artifact

Function admit_optional_parser_artifact 

Source
pub fn admit_optional_parser_artifact(
    supervisor: OptionalParserSupervisor,
    logical: &OptionalParserPackManifest,
) -> Result<(), ParserSupervisorError>
Expand description

Admit every accepted grammar through its exact positive and negative fixtures.

The supplied supervisor must have been opened from the same artifact represented by logical. One grammar-affined session is reused for its fixture pair, and every session is explicitly shut down before this function returns.

ยงErrors

Returns the first artifact, containment, protocol, fixture-expectation, worker, timeout, cancellation, or cleanup failure. When fixture execution and mandatory shutdown both fail, both typed failures are retained in ParserSupervisorError::OperationAndCleanup.