Crate ecmascript[][src]

ecmascript

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.

Re-exports

pub use parser::parse;

Modules

ast
parser

Macros

build_ast

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).

Functions

minify