Sha256: e32f5ef8a59275cfd7ebfbc7e5941dd94c35c6a66e8fb720d9ccbfc994c477c1
Contents?: true
Size: 469 Bytes
Versions: 8
Compression:
Stored size: 469 Bytes
Contents
"use strict"; exports.__esModule = true; var metadata = { group: "builtin-pre" }; exports.metadata = metadata; var visitor = { Literal: function Literal(node) { // number octal like 0b10 or 0o70 if (typeof node.value === "number" && /^0[ob]/i.test(node.raw)) { node.raw = undefined; } // unicode escape if (typeof node.value === "string" && /\\[u]/gi.test(node.raw)) { node.raw = undefined; } } }; exports.visitor = visitor;
Version data entries
8 entries across 8 versions & 3 rubygems