KDb

SqliteKeywords.cpp
1/* This file is part of the KDE project
2 Copyright (C) 2004 Martin Ellis <martin.ellis@kdemail.net>
3 Copyright (C) 2004-2016 Jarosław Staniek <staniek@kde.org>
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this program; see the file COPYING. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19*/
20
21#include "SqliteDriver.h"
22
23//! The list is created by hand based on parse.c from SQLite 3.13.0.
24//! @todo Proces patterns like this from https://www.sqlite.org/draft/tokenreq.html
25//! to extract tokens automatically:
26//! "SQLite shall recognize the *-character sequenence "*" in any combination of upper and lower case letters as the keyword token *."
27const char* const SqliteDriver::keywords[] = {
28 "ABORT",
29 "ACTION",
30 "ADD",
31 "AFTER",
32 "ALL",
33 "ALTER",
34 "ANALYZE",
35 "AND",
36 "ANY",
37 "AS",
38 "ASC",
39 "ATTACH",
40 "AUTOINCR",
41 "BEFORE",
42 "BEGIN",
43 "BETWEEN",
44 "BLOB",
45 "BY",
46 "CASCADE",
47 "CASE",
48 "CAST",
49 "CHECK",
50 "COLLATE",
51 "COLUMN",
52 "COMMIT",
53 "CONFLICT",
54 "CONSTRAINT",
55 "CREATE",
56 "CURRENT_DATE",
57 "CURRENT_TIME",
58 "CURRENT_TIMESTAMP",
59 "DATABASE",
60 "DEFAULT",
61 "DEFERRABLE",
62 "DEFERRED",
63 "DELETE",
64 "DESC",
65 "DETACH",
66 "DISTINCT",
67 "DROP",
68 "EACH",
69 "ELSE",
70 "END",
71 "ESCAPE",
72 "EXCEPT",
73 "EXCLUSIVE",
74 "EXISTS",
75 "EXPLAIN",
76 "FAIL",
77 "FLOAT",
78 "FOR",
79 "FOREIGN",
80 "FROM",
81 "FULL",
82 "GLOB",
83 "GROUP",
84 "HAVING",
85 "ID",
86 "IF",
87 "IGNORE",
88 "IMMEDIATE",
89 "IN",
90 "INDEX",
91 "INDEXED",
92 "INITIALLY",
93 "INNER",
94 "INSERT",
95 "INSTEAD",
96 "INTEGER",
97 "INTERSECT",
98 "INTO",
99 "IS",
100 "ISNULL",
101 "JOIN",
102 "KEY",
103 "LEFT",
104 "LIKE",
105 "LIMIT",
106 "MATCH",
107 "NATURAL",
108 "NO",
109 "NOT",
110 "NOTNULL",
111 "NULL",
112 "OF",
113 "OFFSET",
114 "ON",
115 "OR",
116 "ORDER",
117 "OUTER",
118 "PLAN",
119 "PRAGMA",
120 "PRIMARY",
121 "QUERY",
122 "RAISE",
123 "RECURSIVE",
124 "REFERENCES",
125 "REGEXP",
126 "REINDEX",
127 "RELEASE",
128 "RENAME",
129 "REPLACE",
130 "RESTRICT",
131 "RIGHT",
132 "ROLLBACK",
133 "ROW",
134 "SAVEPOINT",
135 "SELECT",
136 "SET",
137 "STRING",
138 "TABLE",
139 "TEMP",
140 "TEMPORARY",
141 "THEN",
142 "TO",
143 "TRANSACTION",
144 "TRIGGER",
145 "UNION",
146 "UNIQUE",
147 "UPDATE",
148 "USING",
149 "VACUUM",
150 "VALUES",
151 "VARIABLE",
152 "VIEW",
153 "VIRTUAL",
154 "WHEN",
155 "WHERE",
156 "WITH",
157 "WITHOUT",
158 nullptr
159};
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.