pub fn parse_tokens(
tokens: &Vec<Token>,
options: &ParserOptions,
source_info: &SourceInfo,
) -> Result<Program, ParseError>Expand description
Parses a sequence of tokens into the abstract syntax tree (AST) of a shell program.
ยงArguments
tokens- The tokens to parse.options- The options to use when parsing.source_info- Information about the source of the tokens.