Просмотр исходного кода

ref #3296: Filled GTMatchExpression

Brennan Chesley 12 лет назад
Родитель
Сommit
e0c4b1ddb0
1 измененных файлов с 8 добавлено и 33 удалено
  1. 8 33
      lib/pipeline/matcher/GTMatchExpression.js

+ 8 - 33
lib/pipeline/matcher/GTMatchExpression.js

@@ -1,33 +1,13 @@
-"use strict"
-
+"use strict";
 
+var ComparisonMatchExpression = require('ComparisonMatchExpression');
 
 // Autogenerated by cport.py on 2013-09-17 14:37
-var GTMatchExpression = module.exports = function (){
-
+var GTMatchExpression = module.exports = function GTMatchExpression(){
+	this._matchType = 'GTE'
 }, klass = GTMatchExpression, base =  Object  , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
 
 
-
-
-
-/**
- * 
- * This documentation was automatically generated. Please update when you touch this function.
- * @method GTMatchExpression
- * @param
- *
- */
-proto.GTMatchExpression = function GTMatchExpression( /*  GT  */ ){
-// File: expression_leaf.h lines: 129-128
-//         GTMatchExpression() : ComparisonMatchExpression( GT ){}
-
-
-
-
-}
-
-
 /**
  * 
  * This documentation was automatically generated. Please update when you touch this function.
@@ -37,13 +17,8 @@ proto.GTMatchExpression = function GTMatchExpression( /*  GT  */ ){
  */
 proto.shallowClone = function shallowClone( /*  */ ){
 // File: expression_leaf.h lines: 130-133
-//         virtual LeafMatchExpression* shallowClone() const {
-//             ComparisonMatchExpression* e = new GTMatchExpression();
-//             e->init( path(), _rhs  );
-//             return e;
-//         }
-
-
-
+        var e = new GTMatchExpression();
+	e.init( this.path(), this._rhs );
+	return e;
+};
 
-}