This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/@webassemblyjs/wast-parser/esm/index.js

9 lines
282 B
JavaScript
Raw Normal View History

import * as parser from "./grammar";
import { tokenize } from "./tokenizer";
export function parse(source) {
var tokens = tokenize(source); // We pass the source here to show code frames
var ast = parser.parse(tokens, source);
return ast;
}
export * from "./number-literals";