ClickHouse/src/Parsers/parseIdentifierOrStringLiteral.h
Raúl Marín ac6ccf7d9a Reduce IParser.h dependencies and dependents
533 -> 500 objects on change
Less direct dependencies
2021-11-26 17:19:47 +01:00

17 lines
432 B
C++

#pragma once
#include <Core/Types.h>
#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);
}