瀏覽代碼

ref #3301: Filled LTEMatchExpression

Brennan Chesley 12 年之前
父節點
當前提交
fb90008d08
共有 1 個文件被更改,包括 9 次插入35 次删除
  1. 9 35
      lib/pipeline/matcher/LTEMatchExpression.js

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

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