Sha256: dfadea2a1d649f7bfbe64756d02d999469b94fcf5843cbf5ec71c655a951af3f

Contents?: true

Size: 774 Bytes

Versions: 3

Compression:

Stored size: 774 Bytes

Contents

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

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