pub fn accepts_text(grammar: &Grammar, text: &str) -> bool
Whether text parses with grammar on the native executor, as the JavaScript acceptsText does.
text
grammar
acceptsText