Restructure types; Add a use-case specific options parser; Allow (re)creation of specific parser fixtures

This commit is contained in:
dcodeIO
2018-07-03 03:06:01 +02:00
parent 82da2d1f6d
commit 5ca5df3dc7
29 changed files with 486 additions and 279 deletions

View File

@ -76,12 +76,10 @@ import {
ParameterNode,
ParameterKind,
ExportMember,
SwitchCase,
DeclarationStatement
SwitchCase
} from "../ast";
import {
Token,
operatorTokenToString
} from "../tokenizer";

View File

@ -1,4 +1,6 @@
/** @module glue/js *//***/
/// <reference path="../binaryen.d.ts" />
declare function allocate_memory(size: usize): usize;
declare function free_memory(ptr: usize): void;

View File

@ -4,10 +4,12 @@
* @preferred
*//***/
/// <reference path="../../../std/portable.d.ts" />
/// <reference path="../binaryen.d.ts" />
/// <reference path="./binaryen.d.ts" />
/// <reference path="./float.d.ts" />
/// <reference path="./i64.d.ts" />
/// <reference path="./node.d.ts" />
import "../../../std/portable";
import "../../../std/portable/index";
import "./binaryen";
import "./i64";
import "./float";
import "./i64";

View File

@ -4,5 +4,6 @@
* @preferred
*//***/
import "../binaryen.d";
import "./i64";
import "./float";

View File

@ -9,7 +9,6 @@
],
"exclude": [
"./binary.ts",
"./extra/**",
"./glue/wasm/**"
]
}