public static String unescapeText(@NotNull ASTNode node) {
    final String text = node.getText();

    // TODO: unescape \x{xx} sequences

    if (node.getElementType() == RncTokenTypes.ESCAPED_IDENTIFIER) {
      assert text.charAt(0) == '\\';
      return text.length() > 1 ? text.substring(1) : "";
    } else {
      return text;
    }
  }
public static String unescapeText(@NotNull ASTNode node)