ClickHouse/src/Parsers/parseIdentifierOrStringLiteral.h

16 lines
408 B
C++
Raw Normal View History

2017-11-21 19:17:24 +00:00
#pragma once
#include <Parsers/IParser.h>
namespace DB
{
/** Parses a name of an object which could be written in 3 forms:
* name, `name` or 'name' */
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);
}