aswi2020vldc-gitlab/templetes/node_modules/@webassemblyjs/wast-parser/esm/index.js @ 3a515b92
1 |
import * as parser from "./grammar"; |
---|---|
2 |
import { tokenize } from "./tokenizer"; |
3 |
export function parse(source) { |
4 |
var tokens = tokenize(source); // We pass the source here to show code frames |
5 |
|
6 |
var ast = parser.parse(tokens, source); |
7 |
return ast; |
8 |
}
|
9 |
export * from "./number-literals"; |