Commit Graph

487 Commits

Author SHA1 Message Date
4599b6989a [plsql] Fix StringLiteral token
StringLiterals can use a custom quote delimiter that
marks the end of a string literal. This quote delimiter
is only effective together with the quote character.
A single quote character, that is not preceded by the
delimiter, should be allowed.

Additionally, the ASTStringLiteral node gives
now access to the plain string value of the
literal without the quoting.

Fixes #2008
2019-12-23 18:24:14 +01:00
f72810088d REVERT ME Remove some diff 2019-12-20 18:32:47 +01:00
8afe5ae7a8 Abstract away parser utils
Convert a few pieces of code

Share with modelica

Remove yet another dup

Fix tests

Doc

Share with plsql

Fix tests

Fix build

Cleanup

Minimize diff

Share with JSP module

Share with JS module

Share with XML module

Share with VisualForce module

Share with Scala module

Fix last tests
2019-12-20 18:30:17 +01:00
627e258458 Revert 2019-12-17 17:49:01 +01:00
86b274c681 Make generic visitor superclass
Use raw supertype to avoid conflicts
2019-12-17 17:39:13 +01:00
2f37e1c256 Deprecate jjt* methods 2019-12-17 17:39:13 +01:00
1aabc53fa2 Deprecate childrenAccept in all modules 2019-12-17 17:39:13 +01:00
98df6bda1c Add TokenBasedNode, AbstractJjtreeNode 2019-12-17 17:39:13 +01:00
eb6ceef085 Add comments and update release notes 2019-12-05 15:23:07 +01:00
bb7478cd0a Deprecate RuleViolationFactory impls
Internal APIs
2019-12-05 15:18:35 +01:00
00392cefc2 [maven-release-plugin] prepare for next development iteration 2019-11-29 19:46:14 +01:00
78da370fb8 [maven-release-plugin] prepare release pmd_releases/6.20.0 2019-11-29 19:46:05 +01:00
deec9c44b2 [maven-release-plugin] prepare for next development iteration 2019-10-31 18:36:51 +01:00
2881b6f585 [maven-release-plugin] prepare release pmd_releases/6.19.0 2019-10-31 18:36:42 +01:00
e536ca1947 [maven-release-plugin] prepare for next development iteration 2019-09-15 10:14:14 +02:00
3f42cca200 [maven-release-plugin] prepare release pmd_releases/6.18.0 2019-09-15 10:14:05 +02:00
a24e85488e Merge branch 'pr-1986' 2019-09-08 15:39:49 +02:00
26600e68c7 Merge branch 'pr-1977' 2019-09-08 15:24:35 +02:00
20d34103ce [plsql] Add basic support for with clause 2019-09-08 15:20:00 +02:00
dea41f1b6f Merge branch 'pr-1976' 2019-09-08 12:03:54 +02:00
854cd4c700 Merge branch 'pr-1975' 2019-09-08 12:00:19 +02:00
aee182b0b8 Merge branch 'pr-1974' 2019-09-08 11:47:49 +02:00
f283a663a3 [plsql] New node ForUpdateClause 2019-09-08 11:16:46 +02:00
de21a9008f [plsql] Remove extra tokens, remove reserved words as identifiers 2019-09-08 11:12:51 +02:00
5a444276f8 simplified lookahead for blocks and proc/func 2019-08-20 21:22:42 +02:00
9adc3079b6 fixed formatting 2019-08-14 14:30:10 +02:00
dbe3840db1 fix for skipping sql starting with WITH 2019-08-14 14:28:13 +02:00
a953433f5c lookahead in MultiplicativeExpression 2019-08-14 13:45:02 +02:00
8c669f5a47 formated plsql code 2019-08-14 12:28:32 +02:00
28b67091f0 fix for trim function with record type variable 2019-08-14 11:51:12 +02:00
182ba549ba fixes for referencing record type variables 2019-08-14 10:53:56 +02:00
f9ec14c309 issue-1947 added ForUpdateClause 2019-08-13 18:33:14 +02:00
363ceadeaa issue-1947 added ForUpdateClause 2019-08-13 18:15:26 +02:00
7a7971f64d [maven-release-plugin] prepare for next development iteration 2019-07-28 10:24:51 +02:00
365e1c9e8b [maven-release-plugin] prepare release pmd_releases/6.17.0 2019-07-28 10:24:43 +02:00
50d211eae4 [plsql] Introduce new node OuterJoinExpression 2019-07-20 17:32:31 +02:00
fdb31686f0 Fixes #1902 [pslql] ParseException when parsing (+) 2019-07-19 12:21:04 +02:00
73a8e4cc69 [maven-release-plugin] prepare for next development iteration 2019-06-30 10:33:08 +02:00
45facbd323 [maven-release-plugin] prepare release pmd_releases/6.16.0 2019-06-30 10:32:58 +02:00
9b095e113d [plsql] Fix JoinClause preceded by subquery
Fixes #1879
2019-06-29 09:50:45 +02:00
76d9d83894 Merge branch 'pr-1886' 2019-06-28 22:07:50 +02:00
26832f5d2a Merge branch 'pr-1885' 2019-06-28 22:00:02 +02:00
f6f4512a92 Update release notes, refs #1885 2019-06-28 21:59:34 +02:00
f05cde6f24 [plsql] Fix lookahead for CaseExpression 2019-06-28 21:56:16 +02:00
5570e65baf [plsql] Correct case expression 2019-06-28 21:56:16 +02:00
43dde7f8bb Merge branch 'pr-1876' 2019-06-28 21:44:39 +02:00
3e5b3d66aa [plsql] Fix PrimaryPrefix: parse literals first 2019-06-28 21:42:09 +02:00
6b852e4e98 Merge branch 'pr-1883' 2019-06-28 20:48:03 +02:00
930309bb61 Update release notes, fixes #1873, refs #1883 2019-06-28 20:46:12 +02:00
598c9b79ad [plsql] Simplify condition / compound condition 2019-06-28 20:42:38 +02:00