Procházet zdrojové kódy

ref #3302: Filled LTMatchExpression

Brennan Chesley před 12 roky
rodič
revize
3706024a8d
1 změnil soubory, kde provedl 9 přidání a 35 odebrání
  1. 9 35
      lib/pipeline/matcher/LTMatchExpression.js

+ 9 - 35
lib/pipeline/matcher/LTMatchExpression.js

@@ -1,32 +1,11 @@
-"use strict"
-
+"use strict";
 
+var ComparisonMatchExpression = require('ComparisonMatchExpression');
 
 // Autogenerated by cport.py on 2013-09-17 14:37
-var LTMatchExpression = module.exports = function (){
-
-}, klass = LTMatchExpression, 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 LTMatchExpression
- * @param
- *
- */
-proto.LTMatchExpression = function LTMatchExpression( /*  LT  */ ){
-// File: expression_leaf.h lines: 118-117
-//         LTMatchExpression() : ComparisonMatchExpression( LT ){}
-
-
-
-
-}
-
+var LTMatchExpression = module.exports = function LTMatchExpression(){
+	this._matchType = 'LT';
+}, klass = LTMatchExpression, base = ComparisonMatchExpression, proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
 
 /**
  * 
@@ -37,13 +16,8 @@ proto.LTMatchExpression = function LTMatchExpression( /*  LT  */ ){
  */
 proto.shallowClone = function shallowClone( /*  */ ){
 // File: expression_leaf.h lines: 119-122
-//         virtual LeafMatchExpression* shallowClone() const {
-//             ComparisonMatchExpression* e = new LTMatchExpression();
-//             e->init( path(), _rhs  );
-//             return e;
-//         }
-
-
-
+        var e = new LTMatchExpression();
+	e.init( this.path(), this._rhs );
+	return e;
+};
 
-}