Please read the documentation on the Syntax Tree Format.
Note: Partial ES6 support also exists in the experimental harmony branch. However, this branch has never been officially released and the features are not documented.
Esprima is created and maintained by Ariya Hidayat.