Sha256: 5295c1b599f658181f5de0b9eb06fe1023ec7e7e41e26195afd62f73e2311f41

Contents?: true

Size: 983 Bytes

Versions: 1

Compression:

Stored size: 983 Bytes

Contents

System.register("UndefinedLiteral", [], function() {
  "use strict";
  var __moduleName = "UndefinedLiteral";
  function require(path) {
    return $traceurRuntime.require("UndefinedLiteral", path);
  }
  "use strict";
  (function() {
    var Node = module.require("../Node").Node;
    function UndefinedLiteral() {
      Node.call(this);
      this.type = "UndefinedLiteral";
    }
    UndefinedLiteral.prototype = Object.create(Node);
    UndefinedLiteral.prototype.codegen = function() {
      if (!Node.prototype.codegen.call(this)) {
        return;
      }
      this.type = "UnaryExpression";
      this.operator = "void";
      this.argument = {
        "type": "Literal",
        "value": 0,
        "raw": "0"
      };
      this.prefix = true;
      return this;
    };
    UndefinedLiteral.prototype.hasCallExpression = function() {
      return false;
    };
    exports.UndefinedLiteral = UndefinedLiteral;
  }());
  return {};
});
System.get("UndefinedLiteral" + '');

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/literals/UndefinedLiteral.js