Function deno_ast::parse_program
source · [−]pub fn parse_program(params: ParseParams) -> Result<ParsedSource, Diagnostic>
Expand description
Parses the provided information attempting to figure out if the provided text is for a script or a module.