1#pragma once
2
3#include <Parsers/IParserBase.h>
4
5
6namespace DB
7{
8/** Parses a string like this:
9 * {role|CURRENT_USER} [,...] | NONE | ALL | ALL EXCEPT {role|CURRENT_USER} [,...]
10 */
11class ParserRoleList : public IParserBase
12{
13protected:
14 const char * getName() const { return "RoleList"; }
15 bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected);
16};
17
18}
19