summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/ast.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlebars/ast.js')
-rw-r--r--lib/handlebars/ast.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/handlebars/ast.js b/lib/handlebars/ast.js
index 1194694..86960ab 100644
--- a/lib/handlebars/ast.js
+++ b/lib/handlebars/ast.js
@@ -83,6 +83,11 @@ var Handlebars = require("handlebars");
this.string = string;
};
+ Handlebars.AST.IntegerNode = function(integer) {
+ this.type = "INTEGER";
+ this.integer = integer;
+ };
+
Handlebars.AST.CommentNode = function(comment) {
this.type = "comment";
this.comment = comment;