parse

Function parse 

Source
pub fn parse(
    content: &str,
    grammar: &Language,
    tolerate_parsing_errors: bool,
) -> FormatterResult<Tree>
Expand description

Parses some string into a syntax tree, given a tree-sitter grammar.