Sha256: f30f8fd2a9e8c4b3f94fe8169037e9caf5f367ccffb4f33ab7af94ff8f907bb4

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

System.register("AssignmentExpression", [], function() {
  "use strict";
  var __moduleName = "AssignmentExpression";
  function require(path) {
    return $traceurRuntime.require("AssignmentExpression", path);
  }
  "use strict";
  (function() {
    var Node = module.require("../Node").Node;
    function AssignmentExpression(left, operator, right) {
      Node.call(this);
      this.type = "AssignmentExpression";
      this.operator = operator;
      this.left = left;
      this.left.parent = this;
      this.right = right;
      this.right.parent = this;
    }
    AssignmentExpression.prototype = Object.create(Node);
    AssignmentExpression.prototype.codegen = function() {
      if (!Node.prototype.codegen.call(this)) {
        return;
      }
      this.left = this.left.codegen();
      this.right = this.right.codegen();
      return this;
    };
    AssignmentExpression.prototype.hasCallExpression = function() {
      return !!(typeof this.left !== "undefined" && this.left !== null ? this.left.hasCallExpression() : void 0) || !!(typeof this.right !== "undefined" && this.right !== null ? this.right.hasCallExpression() : void 0);
    };
    exports.AssignmentExpression = AssignmentExpression;
  }());
  return {};
});
System.get("AssignmentExpression" + '');

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/AssignmentExpression.js