Skip to main content

run_grammar_command

Function run_grammar_command 

Source
pub fn run_grammar_command(
    args: &[String],
    read_file: GrammarFileReader<'_>,
) -> GrammarCommandOutput
Expand description

Runs meta-language grammar <command> ... over args.

read_file returns a file’s text. The output, messages and exit status are the same as those of runGrammarCommand in the JavaScript package.