Extracts phrase literals from this assertion for use in dispatch indexing.
Returns phrases from the first phrase literal slot found (typically slot 1 for subject-first assertions, or slot 0 for phrase-first assertions). Handles both single phrase literals and phrase literal choices.
Array of phrase strings for indexing, or empty array if none found
Returns the string representation of this assertion.
ReadonlyidUnique identifier for this assertion
ReadonlyimplThe implementation function or schema for this assertion.
ReadonlypartsThe assertion parts used to create this assertion.
Available at runtime for introspection.
ReadonlyslotsThe slots derived from assertion parts for validation.
Interface for the base abstract
Assertionclass.This interface defines the contract for assertion instances, including properties for assertion parts, implementation, slots, and methods for parsing and executing assertions both synchronously and asynchronously.