[][src]Crate esr

Modules

ast
error
lexer

Macros

allow

If the next token matches $p, consume that token and execute $eval.

expect

Return an error if the next token doesn't match $p.

parameter_key

Structs

Module

A JavaScript module parsed to an AST.

Functions

parse

Parse the JavaScript source &str and produce an Abstract Syntax Tree Module.