Skip to main content

check_grammar_selection_mapped_tree

Function check_grammar_selection_mapped_tree 

Source
pub fn check_grammar_selection_mapped_tree<'a>(
    bundle: &'a Value,
    options: &FeatureParseOptions,
) -> Result<&'a Value, GrammarRuntimeError>
Expand description

Validate source correspondence in a complete mapped CST plain-data bundle.

Returns the same borrowed value; grammar membership still requires parsing with its actual grammar. No generic decoding or numeric ID proves ownership.

ยงErrors

Returns a selection error for malformed maps, source definitions or CST bytes, and the unchanged resource reason when the shared bounds are reached.