hermes-parser 0.1.0

A Rust port of the Hermes JavaScript/Flow/TypeScript parser (front-end) by Tzvetan Mikov, the architect of Hermes. Not an official Meta project.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
a => a;
(a) => a;
(a, b) => a + b;
() => 0;
(a, ...b) => b;
(a = 1) => a;
({x}) => x;
([y]) => y;
a => { return a; };
async a => a;
async (a) => a;
async () => 0;