mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
19 lines
368 B
C++
19 lines
368 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Parsers/IParserBase.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
/** Parses a string like this:
|
||
|
* {role|CURRENT_USER} [,...] | NONE | ALL | ALL EXCEPT {role|CURRENT_USER} [,...]
|
||
|
*/
|
||
|
class ParserRoleList : public IParserBase
|
||
|
{
|
||
|
protected:
|
||
|
const char * getName() const { return "RoleList"; }
|
||
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected);
|
||
|
};
|
||
|
|
||
|
}
|