Modules§
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 TreeModule
.