Comparing version 0.2.1 to 0.2.2
@@ -644,2 +644,6 @@ var ometajs_ = require("ometajs"); | ||
return this._rule("string", false, [], null, this["string"]); | ||
}) || this._atomic(function() { | ||
return this._rule("number", false, [], null, this["number"]); | ||
}) || this._atomic(function() { | ||
return this._rule("keyword", false, [ undefined ], null, this["keyword"]); | ||
})) && (n = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._match(":") && this._rule("sc", false, [], null, this["sc"]) && (sc3 = this._getIntermediate(), true) && this._rule("asgnExpr", false, [], null, this["asgnExpr"]) && (v = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc4 = this._getIntermediate(), true) && this._exec([ "objItem", sc1, n, sc2, sc3, v, sc4 ]); | ||
@@ -842,3 +846,3 @@ }; | ||
var sc1, e, sc2, c; | ||
return this._rule("keyword", false, [ "for" ], null, this["keyword"]) && this._rule("sc", false, [], null, this["sc"]) && (sc1 = this._getIntermediate(), true) && this._rule("forStmtExprs", false, [], null, this["forStmtExprs"]) && (e = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._rule("block", false, [], null, this["block"]) && (c = this._getIntermediate(), true) && this._exec([ "forStmt", sc1, e, sc2, c ]); | ||
return this._rule("keyword", false, [ "for" ], null, this["keyword"]) && this._rule("sc", false, [], null, this["sc"]) && (sc1 = this._getIntermediate(), true) && this._rule("forStmtExprs", false, [], null, this["forStmtExprs"]) && (e = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._rule("stmtContent", false, [], null, this["stmtContent"]) && (c = this._getIntermediate(), true) && this._exec([ "forStmt", sc1, e, sc2, c ]); | ||
}; | ||
@@ -872,3 +876,3 @@ | ||
var sc1, e, sc2, c; | ||
return this._rule("keyword", false, [ "for" ], null, this["keyword"]) && this._rule("sc", false, [], null, this["sc"]) && (sc1 = this._getIntermediate(), true) && this._rule("forInStmtExpr", false, [], null, this["forInStmtExpr"]) && (e = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._rule("block", false, [], null, this["block"]) && (c = this._getIntermediate(), true) && this._exec([ "forInStmt", sc1, e, sc2, c ]); | ||
return this._rule("keyword", false, [ "for" ], null, this["keyword"]) && this._rule("sc", false, [], null, this["sc"]) && (sc1 = this._getIntermediate(), true) && this._rule("forInStmtExpr", false, [], null, this["forInStmtExpr"]) && (e = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._rule("stmtContent", false, [], null, this["stmtContent"]) && (c = this._getIntermediate(), true) && this._exec([ "forInStmt", sc1, e, sc2, c ]); | ||
}; | ||
@@ -875,0 +879,0 @@ |
{ | ||
"name": "krasota", | ||
"description": "Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"homepage": "http://github.com/veged/krasota.js", | ||
@@ -22,3 +22,3 @@ "author": "Sergey Berezhnoy <veged@ya.ru> (http://github.com/veged)", | ||
"q": "0.7.x", | ||
"ometajs": "3.3.x", | ||
"ometajs": "4.0.x", | ||
"eyes": "0.1.x", | ||
@@ -25,0 +25,0 @@ "ignore": "2.2.8" |
Sorry, the diff of this file is not supported yet
216440
3611
+ Addedometajs@4.0.0(transitive)
- Removedometajs@3.3.8(transitive)
Updatedometajs@4.0.x