JS: Extract predicates for ES2015/closure modules

This commit is contained in:
Asger F
2019-01-30 12:24:35 +00:00
parent 51fe31d049
commit 8f3b0f584a
5 changed files with 15 additions and 2 deletions

View File

@@ -128,6 +128,8 @@ case @toplevel.kind of
isModule (int tl: @toplevel ref);
isNodejs (int tl: @toplevel ref);
isES2015Module (int tl: @toplevel ref);
isClosureModule (int tl: @toplevel ref);
// statements
#keyset[parent, idx]