|
|
@@ -1,8 +1,9 @@
|
|
|
"use strict";
|
|
|
|
|
|
// Autogenerated by cport.py on 2013-09-17 14:37
|
|
|
-var ListOfMatchExpression = module.exports = function (/*type*/){
|
|
|
+var ListOfMatchExpression = module.exports = function (matchType){
|
|
|
this._expressions = [];
|
|
|
+ this._matchType = matchType;
|
|
|
}, klass = ListOfMatchExpression, base = Object , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
|
|
|
|
|
|
// File: expression_tree.h lines: 56-56
|
|
|
@@ -56,7 +57,7 @@ proto.clearAndRelease = function clearAndRelease(){
|
|
|
*/
|
|
|
proto.equivalent = function equivalent(other){
|
|
|
// File: expression_tree.cpp lines: 45-59
|
|
|
- if (matchType() != other.matchType())
|
|
|
+ if (this._matchType != other._matchType)
|
|
|
return false;
|
|
|
|
|
|
var realOther = new ListOfMatchExpression(other);
|