JS: refactoring

This commit is contained in:
Anton Bannykh
2018-11-22 15:39:45 +03:00
parent 6d26bf9622
commit a0ff581a2f
18 changed files with 663 additions and 568 deletions
@@ -17,4 +17,6 @@ class JsProgramFragment(val scope: JsScope, val packageFqn: String) {
val inlineModuleMap: MutableMap<String, JsExpression> = LinkedHashMap()
var tests: JsStatement? = null
var mainFunction: JsStatement? = null
// TODO serialize/deserialize; teach Merger about this thing
val inlinedFunctionWrappers = mutableMapOf<String, JsGlobalBlock>()
}