Skip to main content

accepts_text

Function accepts_text 

Source
pub fn accepts_text(grammar: &Grammar, text: &str) -> bool
Expand description

Whether text parses with grammar on the native executor, as the JavaScript acceptsText does.