0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00
posthog/hogql_parser/string.h
2024-05-30 20:32:39 +02:00

14 lines
347 B
C++

#pragma once
#include <string>
#include "antlr4-runtime.h"
std::string replace_common_escape_characters(std::string text);
std::string parse_string_literal_text(std::string text);
std::string parse_string_literal_ctx(antlr4::tree::TerminalNode* node);
std::string parse_string_text_ctx(antlr4::tree::TerminalNode* node, bool escape_quotes);