ecmascript is a crate that helps you parse the ECMAScript 2017 v8.0 language.
It also provides some useful macros to help you construct the AST
if you want to perform some operations on it.
This module contains type definitions for the Abstract Syntax elements that make up the ECMAScript language.
This macro makes constructing complicated syntax trees very easy. This can be useful for re-writing parts of the AST, or deriving a a syntax tree from other trees (eg. concatenating syntax trees).
The main entry point to the parser. This function will return a fully constructed AST or an error message describing why it couldn't parse the input string.