#pragma once #include #include namespace DB { /** Parses a name of an object which could be written in the following forms: * name / `name` / "name" (identifier) or 'name'. * Note that empty strings are not allowed. */ bool parseIdentifierOrStringLiteral(IParser::Pos & pos, Expected & expected, String & result); /** Parse a list of identifiers or string literals. */ bool parseIdentifiersOrStringLiterals(IParser::Pos & pos, Expected & expected, Strings & result); }