Sha256: 4fc3e2c4d2739028c464560c59727e4128c7e23f276c1e337fe5ee558cf0618f

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

$traceurRuntime.ModuleStore.getAnonymousModule(function() {
  "use strict";
  var Node = module.require("../Node").Node;
  function ArrayExpression(elements) {
    Node.call(this);
    this.type = "ArrayExpression";
    this.elements = elements;
    for (var $__0 = this.elements[$traceurRuntime.toProperty(Symbol.iterator)](),
        $__1; !($__1 = $__0.next()).done; ) {
      var element = $__1.value;
      {
        if (typeof element !== "undefined" && element !== null) {
          element.parent = this;
        }
      }
    }
  }
  ArrayExpression.prototype = Object.create(Node);
  ArrayExpression.prototype.codegen = function() {
    if (!Node.prototype.codegen.call(this)) {
      return;
    }
    var i = 0;
    for (var $__0 = this.elements[$traceurRuntime.toProperty(Symbol.iterator)](),
        $__1; !($__1 = $__0.next()).done; ) {
      var element = $__1.value;
      {
        this.elements[i] = typeof element !== "undefined" && element !== null ? element.codegen() : void 0;
        i++;
      }
    }
    return this;
  };
  ArrayExpression.prototype.hasCallExpression = function() {
    return true;
  };
  exports.ArrayExpression = ArrayExpression;
  return {};
});

//# sourceMappingURL=ArrayExpression.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/ArrayExpression.js
spider-src-0.1.6 lib/spider-src/support/spider/lib/ast/expressions/ArrayExpression.js
spider-src-0.1.5 lib/spider-src/support/spider/lib/ast/expressions/ArrayExpression.js