Sha256: 59a7e6c5d59e4cc5005c605b4692116cf832bd74a010e05f15e54ceffc8bea2a

Contents?: true

Size: 766 Bytes

Versions: 3

Compression:

Stored size: 766 Bytes

Contents

$traceurRuntime.ModuleStore.getAnonymousModule(function() {
  "use strict";
  var Node = module.require("../Node").Node;
  function RegularExpressionLiteral(pattern, flags) {
    Node.call(this);
    this.type = "Literal";
    this.pattern = pattern;
    this.flags = flags;
  }
  RegularExpressionLiteral.prototype = Object.create(Node);
  RegularExpressionLiteral.prototype.codegen = function() {
    if (!Node.prototype.codegen.call(this)) {
      return;
    }
    this.value = new RegExp(this.pattern, this.flags);
    return this;
  };
  RegularExpressionLiteral.prototype.hasCallExpression = function() {
    return false;
  };
  exports.RegularExpressionLiteral = RegularExpressionLiteral;
  return {};
});

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