Update dist files; Also parse name and source mapping sections in lib/parse

This commit is contained in:
dcodeIO
2018-04-04 03:41:04 +02:00
parent c45a35b1c1
commit acfef646ef
15 changed files with 290 additions and 89 deletions

View File

@ -35,6 +35,13 @@ export enum ExternalKind {
Global = 3
}
/** Name section types. */
export enum NameType {
Module = 0,
Function = 1,
Local = 2
}
/** Maximum number of pages. */
export const MAX_PAGES = 0xffff;