Sha256: c0c4955135fcd7308d51076dd1da5fa65ee91a8bc7eeff82249ffe22b496b338

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

System.register("ObjectExpression", [], function() {
  "use strict";
  var __moduleName = "ObjectExpression";
  function require(path) {
    return $traceurRuntime.require("ObjectExpression", path);
  }
  "use strict";
  (function() {
    var Node = module.require("../Node").Node;
    function ObjectExpression(properties) {
      Node.call(this);
      this.type = "ObjectExpression";
      this.properties = properties;
      for (var $__0 = this.properties[$traceurRuntime.toProperty(Symbol.iterator)](),
          $__1; !($__1 = $__0.next()).done; ) {
        var property = $__1.value;
        {
          property.parent = this;
        }
      }
    }
    ObjectExpression.prototype = Object.create(Node);
    ObjectExpression.prototype.codegen = function() {
      if (!Node.prototype.codegen.call(this)) {
        return;
      }
      var i = 0;
      for (var $__0 = this.properties[$traceurRuntime.toProperty(Symbol.iterator)](),
          $__1; !($__1 = $__0.next()).done; ) {
        var property = $__1.value;
        {
          this.properties[i] = property.codegen();
          i++;
        }
      }
      return this;
    };
    ObjectExpression.prototype.hasCallExpression = function() {
      return true;
    };
    exports.ObjectExpression = ObjectExpression;
  }());
  return {};
});
System.get("ObjectExpression" + '');

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