hermes-parser 0.1.3

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
13
14
15
16
17
18
var o = {
  m<T>(x: T): T {
    return x;
  },
  get x(): number {
    return 1;
  },
  set y(v: number): void {},
  get<T>(x: T): T {
    return x;
  },
  set<T>(x: T): T {
    return x;
  },
  async<T>(x: T): T {
    return x;
  },
};