Sha256: f72a0269b22c245966ba6bd61330391bbb75e4b082a44825d25ef61be031385b

Contents?: true

Size: 624 Bytes

Versions: 3

Compression:

Stored size: 624 Bytes

Contents

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

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