Sha256: 27a48a89828b49599bfdba21f2a60e10524143e747202abb687b8b674156f80f

Contents?: true

Size: 812 Bytes

Versions: 1

Compression:

Stored size: 812 Bytes

Contents

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

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