Add support for INTEGER expressions

This commit is contained in:
tomhuda
2011-06-01 22:33:48 -07:00
parent 4eeda34ad2
commit 0f78345d0c
8 changed files with 71 additions and 30 deletions
+5
View File
@@ -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;