825 Commits

Author SHA1 Message Date
hvbargen
46e368a3e0 Allow excluding lines from the parser using comments -- PMD-EXCLUDE-BEGIN and -- PMD-EXCLUDE-END. This is to workaround bugs in the PL/SQL parser - some valid statements cannot be parsed. by wrapping them inside PMD-EXCLUDE-BEGIN/END the parser just ignores them and continues parsing with the next line. 2021-02-26 19:11:27 +01:00
hvbargen
475f750216 Support for common SQL*Plus command abbreviations, support for special characters in HOST, REMARK, REM commands. 2021-02-25 16:30:56 +01:00
hvbargen
387dee88f1 No longer accept arbitrary lines as SQL*Plus commands. 2021-02-25 14:43:09 +01:00
hvbargen
c4fe303393 Replaced StringBuffer with StringBuilder again 2021-02-24 10:32:19 +01:00
hvbargen
017e40ba67 Accept double ampersand as well 2021-02-24 10:28:24 +01:00
hvbargen
fd973e7db5 Basic support for ampersand and backslash characters. At least the parser now accepts these characters and can parse a lot more typical scripts. 2021-02-24 09:48:51 +01:00
Andreas Dangel
28a644cd8e Merge branch 'master' into pmd/7.0.x 2021-02-19 09:26:59 +01:00
Henning von Bargen
ac1b5ed159 Issue 3106: Use StringExpression, test case renamed, moved plsql to resource folder. 2021-02-12 09:48:27 +01:00
Henning von Bargen
34eb080884 Added unit test for issue #3106 2021-02-11 09:02:30 +01:00
Henning von Bargen
64d5ccad78 Fix for issue #3106 ParseException for EXECUTE IMMEDIATE str1||str2; 2021-02-10 17:54:10 +01:00
Andreas Dangel
2ea0328678 [maven-release-plugin] prepare for next development iteration 2021-01-30 18:04:17 +01:00
Andreas Dangel
7d6e6239c5 [maven-release-plugin] prepare release pmd_releases/6.31.0 2021-01-30 18:04:08 +01:00
Clément Fournier
e9b1499508 Merge branch 'remove-xml-dom-rule' into core-parser-tasks 2021-01-24 16:42:24 +01:00
Andreas Dangel
f7909ae78a Merge branch 'master' into pr-2963-update 2021-01-21 11:43:01 +01:00
Andreas Dangel
f27dc1bde5 Merge branch 'master' into pmd/7.0.x 2021-01-16 19:29:09 +01:00
Andreas Dangel
c37f208d3e Call jjtree/javacc with UTF-8 as default encoding
Fixes #2970
2020-12-17 18:31:13 +01:00
Clément Fournier
00bee39767 Merge branch 'analysis-listener' into text-utils-simple 2020-12-13 05:38:09 +01:00
Clément Fournier
2623efbc8a Delete ParserOptions 2020-12-13 00:39:05 +01:00
Andreas Dangel
d284ea9634 [maven-release-plugin] prepare for next development iteration 2020-12-12 09:42:10 +01:00
Andreas Dangel
d2e4fb4ca3 [maven-release-plugin] prepare release pmd_releases/6.30.0 2020-12-12 09:42:02 +01:00
Clément Fournier
823f78c425 Merge branch 'master' into 7.0.x
Refs #2864
2020-12-11 10:11:40 +01:00
Maikel Steneker
af31b3a773 Add GenericToken.getKind() to interface 2020-12-10 12:10:47 +01:00
Clément Fournier
11de423765 Merge branch 'text-utils-simple' into text-utils-javacc 2020-11-16 00:29:45 +01:00
Clément Fournier
3ca59ce12d Fix chars indexof 2020-11-15 23:41:22 +01:00
Clément Fournier
af1e818ee0 Merge branch 'text-utils-simple' into text-utils-javacc 2020-11-15 19:41:20 +01:00
Clément Fournier
0474353beb Fix merge 2020-11-15 19:11:17 +01:00
Clément Fournier
9826ff241b Merge branch 'analysis-listener' into text-utils-simple 2020-11-15 19:04:14 +01:00
Clément Fournier
d4ad2f5011 Fix compil 2020-11-15 18:47:23 +01:00
Clément Fournier
c8488c5996 Update rest of modules 2020-11-15 18:01:08 +01:00
Clément Fournier
7c45eb0ca9 Use a wrapper 'AstInfo' 2020-11-15 17:35:10 +01:00
Clément Fournier
6d88cb9cff Plsql + modelica 2020-11-15 17:07:49 +01:00
Andreas Dangel
4837c8dbc8 [maven-release-plugin] prepare for next development iteration 2020-10-24 10:17:24 +02:00
Andreas Dangel
81f12d3e5d [maven-release-plugin] prepare release pmd_releases/6.29.0 2020-10-24 10:17:15 +02:00
Clément Fournier
5c59de5d52 Checkout changes to test utils 2020-09-28 19:46:34 +02:00
Andreas Dangel
aa245c6e1b [maven-release-plugin] prepare for next development iteration 2020-09-26 10:25:16 +02:00
Andreas Dangel
722f3ca997 [maven-release-plugin] prepare release pmd_releases/6.28.0 2020-09-26 10:25:05 +02:00
Clément Fournier
c88919bbc7 Cleanup 2020-09-17 22:56:45 +02:00
Clément Fournier
3ee32effda Refactor token documents
Isolate static parts
2020-09-17 22:56:01 +02:00
Clément Fournier
a11f45e511 Cleanup spec 2020-09-17 22:54:59 +02:00
Clément Fournier
155a895a93 Move charstream 2020-09-17 22:54:20 +02:00
Clément Fournier
b8af0dda6e Move AbstractTokenManager 2020-09-17 22:44:38 +02:00
Clément Fournier
e93e5b0a4c Move into .io package 2020-09-17 22:43:29 +02:00
Clément Fournier
95bac5eb95 Convert CharStream to class 2020-09-17 22:41:16 +02:00
Clément Fournier
b779abd08b Align cpd 2020-09-17 22:41:14 +02:00
Clément Fournier
d8f4552153 Cleanups 2020-09-17 22:33:24 +02:00
Clément Fournier
13879c9b94 Make RootNode have a text document 2020-09-17 22:33:00 +02:00
Clément Fournier
7ac1e1478e Fix tests 2020-09-17 22:31:10 +02:00
Clément Fournier
48e34c2372 Make Node and GenericToken Reportables 2020-09-17 22:30:12 +02:00
Clément Fournier
2356f2f69d Use TextRegion in tokens 2020-09-17 22:29:59 +02:00
Clément Fournier
7d242718bd Merge branch '7.0.x' into analysis-listener 2020-09-14 15:09:54 +02:00