MCPcopy Create free account
hub / github.com/dataease/SQLBot / es_unescape

Function es_unescape

frontend/public/swagger-ui-bundle.js:44110–44113  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

44108 return (this.translate(s), delete s.stack, s)
44109 }
44110 },
44111 es_unescape = (s) => {
44112 if ('string' != typeof s) throw new TypeError('Reference token must be a string')
44113 return s.replace(/~1/g, '/').replace(/~0/g, '~')
44114 }
44115 const Mp = class ASTTranslator extends Np {
44116 getTree() {

Callers 1

getTreeMethod · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected