Explorar o código

ref #3302: Filled LTMatchExpression

Brennan Chesley %!s(int64=12) %!d(string=hai) anos
pai
achega
3706024a8d
Modificáronse 1 ficheiros con 9 adicións e 35 borrados
  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
 // 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( /*  */ ){
 proto.shallowClone = function shallowClone( /*  */ ){
 // File: expression_leaf.h lines: 119-122
 // 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;
+};
 
 
-}