Przeglądaj źródła

ref #3359: Fix to pass several test cases.

Brennan Chesley 12 lat temu
rodzic
commit
976771088a

+ 2 - 2
lib/pipeline/matcher/AllElemMatchOp.js

@@ -1,10 +1,10 @@
 "use strict";
 
-MatchExpression = require('./MatchExpression');
+var MatchExpression = require('./MatchExpression');
 
 
 // Autogenerated by cport.py on 2013-09-17 14:37
-var AllElemMatchOp = module.exports = function (){
+var AllElemMatchOp = module.exports = function AllElemMatchOp(){
 	this._matchType = 'ALL';
 }, klass = AllElemMatchOp, base =  MatchExpression , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
 

+ 2 - 2
lib/pipeline/matcher/AndMatchExpression.js

@@ -1,9 +1,9 @@
 "use strict";
 
-ListOfMatchExpression = require('./ListOfMatchExpression');
+var ListOfMatchExpression = require('./ListOfMatchExpression');
 
 // Autogenerated by cport.py on 2013-09-17 14:37
-var AndMatchExpression = module.exports = function (){
+var AndMatchExpression = module.exports = function AndMatchExpression(){
 	this._expressions = [];
 	this._matchType = 'AND';
 }, klass = AndMatchExpression, base =  ListOfMatchExpression, proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});

+ 2 - 2
lib/pipeline/matcher/ArrayFilterEntries.js

@@ -1,9 +1,9 @@
 "use strict";
 
-Value = require('../Value');
+var Value = require('../Value');
 
 // Autogenerated by cport.py on 2013-09-17 14:37
-var ArrayFilterEntries = module.exports = function (){
+var ArrayFilterEntries = module.exports = function ArrayFilterEntries(){
 	this._hasNull = false;
 	this._hasEmptyArray = false;
 }, klass = ArrayFilterEntries, base =  Object  , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});

+ 1 - 1
lib/pipeline/matcher/AtomicMatchExpression.js

@@ -1,6 +1,6 @@
 "use strict"
 
-MatchExpression = require('./MatchExpression');
+var MatchExpression = require('./MatchExpression');
 
 // Autogenerated by cport.py on 2013-09-17 14:37
 var AtomicMatchExpression = module.exports = function AtomicMatchExpression(){

+ 3 - 1
lib/pipeline/matcher/ElemMatchValueMatchExpression.js

@@ -1,9 +1,11 @@
 "use strict";
 
+var ArrayMatchingMatchExpression = require('./ArrayMatchingMatchExpression.js');
+
 // Autogenerated by cport.py on 2013-09-17 14:37
 var ElemMatchValueMatchExpression = module.exports = function ElemMatchValueMatchExpression(){
 	this._matchType = 'ELEM_MATCH_VALUE';
-}, klass = ElemMatchValueMatchExpression, base =  Object  , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
+}, klass = ElemMatchValueMatchExpression, base =  ArrayMatchingMatchExpression, proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
 
 // DEPENDENCIES
 var errors = require("../../Errors.js"),

+ 1 - 1
lib/pipeline/matcher/EqualityMatchExpression.js

@@ -1,6 +1,6 @@
 "use strict";
 
-ComparisonMatchExpression = require('./ComparisonMatchExpression');
+var ComparisonMatchExpression = require('./ComparisonMatchExpression');
 
 // Autogenerated by cport.py on 2013-09-17 14:37
 var EqualityMatchExpression = module.exports = function EqualityMatchExpression(){