Sha256: 50004d0e0f388aa07861135876dee58b0de4f155c05de9bdb4ffbd6de923f44d

Contents?: true

Size: 1000 Bytes

Versions: 1

Compression:

Stored size: 1000 Bytes

Contents

System.register("UpdateExpression", [], function() {
  "use strict";
  var __moduleName = "UpdateExpression";
  function require(path) {
    return $traceurRuntime.require("UpdateExpression", path);
  }
  "use strict";
  (function() {
    var Node = module.require("../Node").Node;
    function UpdateExpression(argument, operator, prefix) {
      Node.call(this);
      this.type = "UpdateExpression";
      this.operator = operator;
      this.prefix = prefix;
      this.argument = argument;
      this.argument.parent = this;
    }
    UpdateExpression.prototype = Object.create(Node);
    UpdateExpression.prototype.codegen = function() {
      if (!Node.prototype.codegen.call(this)) {
        return;
      }
      return this;
    };
    UpdateExpression.prototype.hasCallExpression = function() {
      return !!(this.argument !== null) && !!this.left.hasCallExpression();
    };
    exports.UpdateExpression = UpdateExpression;
  }());
  return {};
});
System.get("UpdateExpression" + '');

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spider-src-0.1.6 lib/spider-src/support/spider/node_modules/spider-script/lib/ast/expressions/UpdateExpression.js