Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str) -> Result<Tree, ParseError>
Expand description

Parse bash source into a tree-sitter CST. Useful when callers want to walk the raw CST themselves; most consumers want parse_to_ast instead.