Sha256: 620bba73c10d91ba12491999c198fe4778dc633450a4e95e28246d7053bc0d9d

Contents?: true

Size: 825 Bytes

Versions: 1

Compression:

Stored size: 825 Bytes

Contents

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

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