Skip to main content

clean_structural_acceptance

Function clean_structural_acceptance 

Source
pub fn clean_structural_acceptance(network: &LinkNetwork, text: &str) -> bool
Expand description

Default parser acceptance predicate.

A parser accepts when it reconstructs the queried text, has no error or missing links, and emits at least one source-spanned structural parser link (Grammar or Syntax). The spanned structural-link check distinguishes successful registered parsers from lossless fallback tokenization and from unspanned self-description metadata.