Sha256: a25901fe0b6b7196c1f06092c8460020dca4fdaed0303c3b2b6a1774c32a132c

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

$traceurRuntime.ModuleStore.getAnonymousModule(function() {
  "use strict";
  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 {};
});

//# sourceMappingURL=AssignmentExpression.map

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spider-src-0.1.7 lib/spider-src/support/spider/lib/ast/expressions/AssignmentExpression.js
spider-src-0.1.6 lib/spider-src/support/spider/lib/ast/expressions/AssignmentExpression.js
spider-src-0.1.5 lib/spider-src/support/spider/lib/ast/expressions/AssignmentExpression.js