parse-javascript ( input -- ast )


Vocabulary
peg.javascript

Inputs
inputa string


Outputs
asta JavaScript abstract syntax tree


Word description
Parse the input string using the JavaScript parser. Throws an error if the string does not contain valid JavaScript. Returns the abstract syntax tree if successful.

Definition