code: function transformLiteral (node) {
      const originalValue = node.value.value
      if (rootPathWithDotRegex.test(originalValue)) {
        node.value.value = node.value.value.replace(rootPathWithDotRegex, '$$$1')
      }
    }
docs: transforms a string from '$. | $. | $.' -> '$ | $ | $'