Sha256: dc48ae2fc97c8d292049c36ae210cb6ddc8f90dcc992c28d68579e60011aac94
Contents?: true
Size: 989 Bytes
Versions: 1
Compression:
Stored size: 989 Bytes
Contents
System.register("RegularExpressionLiteral", [], function() { "use strict"; var __moduleName = "RegularExpressionLiteral"; function require(path) { return $traceurRuntime.require("RegularExpressionLiteral", path); } "use strict"; (function() { 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 {}; }); System.get("RegularExpressionLiteral" + '');
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/RegularExpressionLiteral.js |