ClickHouse/src/Parsers/parseIdentifierOrStringLiteral.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
432 B
C++
Raw Normal View History

2017-11-21 19:17:24 +00:00
#pragma once
#include <Core/Types.h>
2017-11-21 19:17:24 +00:00
#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);
}