Commit f3e04b3
authored
Keywords2: Update whitelisted Keywords (#1653)
* Enhanced Keywords
Add Keywords and document, which keywords are allowed for what purpose
* Fix incorrect tests
* Define Reserved Keywords explicitly
Derive All Keywords from Grammar directly
Generate production for Object Names (semi-) automatically
Add parametrized Keyword Tests
* Fix test resources
* Adjust Gradle to JUnit 5
Parallel Test execution
Gradle Caching
Explicitly request for latest JavaCC 7.0.10
* Do not mark SpeedTest for concurrent execution
* Remove unused imports
* Adjust Gradle to JUnit 5
Parallel Test execution
Gradle Caching
Explicitly request for latest JavaCC 7.0.10
* Do not mark SpeedTest for concurrent execution
* Remove unused imports
* Keyword test adopt JUnit5
Update keywords
* CheckStyle sanitation of method names
* Merge Master
* Add Jupiter Parameters dependency again
* Automate the `updateKeywords` Step
* Update PMD and rules
* Rewrite test expected to fail
* Appease Codacy
* Remove broken rule warning about perfectly fine switch-case statements
* Force Changes
* Fix Merge Issues
* Read Tokens directly from the Grammar File without invoking JTREE
- read Tokens per REGEX Matcher
- move Reserved Keywords from Grammar into ParserKeywordsUtils
- adjust the Tests
* Appease PMD/Codacy
* Extract the Keywords from the Grammar by using JTRee (instead of Regex)
Add some tests to ensure, that all Keywords or found
* Appease Codacy/PMD
* Separate UpdateKeywords Task again
Including it into compileJavacc won't work since it depends on compiling the ParserKeywordUtils.java
Single file compilation did not work
* Clean-up the imports
* Add JavaCC dependency to Maven for building ParserKeywordsUtils
* Add JavaCC dependency to Maven for building ParserKeywordsUtils
* Merge Upstream
* Merge Master
* Fixes broken PR #1524 and Commit fb6e950
* Add AST Visualization
Show the Statement's Java Objects in a tree hierarchy
* build: temporarily reduce the Code Coverage requirements
Temporarily reduce the Coverage checks regarding Minimum Coverage and Maximum Missed Lines in order to get the Keywords PR accepted. We should do a major Code cleanup afterwards.
* build: JSQLParser is a build dependency
* chore: Update keywords
* feat: add line count to output
* Fix: updateKeywords to reflect new tokens
* test: Keywords enabled 2 more Special Oracle Tests
* build: add updateKeywords to the Maven Build
update/cleanup dependencies in Maven and Gradle
add EXEC plugin to Maven for updating white listed keywords in the Grammaer1 parent 4863eb5 commit f3e04b3
File tree
4 files changed
+30
-22
lines changed- src
- main/jjtree/net/sf/jsqlparser/parser
- test/java/net/sf/jsqlparser/statement/select
4 files changed
+30
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
117 | 131 | | |
118 | 132 | | |
119 | 133 | | |
| |||
153 | 167 | | |
154 | 168 | | |
155 | 169 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| |||
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
| 343 | + | |
341 | 344 | | |
342 | 345 | | |
343 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1827 | 1827 | | |
1828 | 1828 | | |
1829 | 1829 | | |
1830 | | - | |
| 1830 | + | |
1831 | 1831 | | |
1832 | 1832 | | |
1833 | 1833 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| 166 | + | |
165 | 167 | | |
166 | 168 | | |
167 | 169 | | |
| |||
0 commit comments