-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathidentifier.hpp
53 lines (35 loc) · 1.59 KB
/
identifier.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef SQL_TEXT_GRAMMAR_IDENTIFIER_HPP
#define SQL_TEXT_GRAMMAR_IDENTIFIER_HPP
#include "sql/fusion/identifier.hpp"
#include <boost/spirit/home/x3.hpp>
namespace sql { namespace text {
using boost::spirit::x3::rule;
///////////////////////////////////////////////////////////////////////////
// Rule IDs
///////////////////////////////////////////////////////////////////////////
struct ialnum_class;
struct identifier_class;
struct identifier_list_class;
struct simple_table_identifier_class;
struct schema_table_identifier_class;
struct table_identifier_class;
struct aliased_table_identifier_class;
///////////////////////////////////////////////////////////////////////////
// Rules
///////////////////////////////////////////////////////////////////////////
const rule<ialnum_class, char>
ialnum = "ialnum";
const rule<identifier_class, ast::identifier>
identifier = "identifier";
const rule<identifier_list_class, ast::identifier_list>
identifier_list = "identifier_list";
const rule<simple_table_identifier_class, ast::simple_table_identifier>
simple_table_identifier = "simple_table_identifier";
const rule<schema_table_identifier_class, ast::schema_table_identifier>
schema_table_identifier = "schema_table_identifier";
const rule<table_identifier_class, ast::table_identifier>
table_identifier = "table_identifier";
const rule<aliased_table_identifier_class, ast::aliased_table_identifier>
aliased_table_identifier = "aliased_table_identifier";
}}
#endif //SQL_TEXT_GRAMMAR_IDENTIFIER_HPP