aboutsummaryrefslogtreecommitdiff
path: root/lib/ast.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ast.js')
-rw-r--r--lib/ast.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ast.js b/lib/ast.js
index c3176702..c5ec8163 100644
--- a/lib/ast.js
+++ b/lib/ast.js
@@ -81,6 +81,7 @@ function DEFNODE(type, props, methods, base) {
ctor.DEFMETHOD = function(name, method) {
this.prototype[name] = method;
};
+ exports["AST_" + type] = ctor;
return ctor;
};