6fb5ac59b9
Ensure CPD uses tab width of 1 for tabs consistently
...
The columns that are reported by CPD were inconsistent across languages
before. A language like Java (using a JavaCC-based tokenizer) would use
a width of 8 for tabs, whereas a language like C# (using an Antlr-based
tokenizer) would use 1 instead.
This includes unit tests for most languages to ensure a tab character is
counted as 1. The configuration for JavaCC has been adjusted to respect
this as well.
2020-07-20 10:42:21 +02:00
e4690cb56a
Fix compile errors for CPD only languages
2020-07-17 15:04:43 +02:00
394b866524
Convert swift tests
2020-06-13 23:58:17 +02:00
e8f9d939e2
Swift 4.2-5.2 support
2020-05-14 10:24:47 +02:00
56d5a6afa3
[swift] Add unit test for #628
...
Closes #628
2020-03-20 13:55:04 +01:00
10e27ca3c0
Deprecate PMD LanguageModule for languages, that only support CPD
2018-11-26 13:55:35 +01:00
cba4e87acd
Replacing deprecated IO methods with ones that specify a charset
...
Standardizing with StandardCharsets.UTF_8, given that it was used in
several places of code already, and it provides compile-time checking
(as opposed to "UTF-8")
2018-10-12 17:25:08 -05:00
c2643f0278
PR review
2018-09-10 15:55:14 -03:00
15bd890110
Generate AntlrTokenManager and decouple the lexer instance from the tokenizer
2018-09-09 20:19:38 -03:00
543795e550
checkstyle fixes
2018-08-19 04:06:53 -03:00
1796d2a7a5
PR Review
2018-08-19 03:56:07 -03:00
32b7cba79a
abstraction for cpd with antlr
2018-07-21 20:10:24 -03:00
19f5110dc1
Update Swift.g4 for swift 4.1
2018-04-03 10:22:42 +02:00
56cead8423
Add Associated Type Constraints & Class and Protocol Existential example
...
Update token count to match these additions already managed by the
grammar
2017-12-08 06:13:11 +01:00
b10e21df7f
Add more swift4 syntax and update grammar for multiline
2017-12-08 06:06:19 +01:00
315bb87c7f
Update Swift.g4 grammar to have swift4 keypath support
2017-12-08 06:06:19 +01:00
3d9511a0e5
[doc] Remove old maven site
2017-08-15 14:31:03 +02:00
e5ddad3c3b
Remove pushed .gitignored files
...
These files were already at the repository
but they should have been ignored
2017-07-27 18:31:20 -03:00
fbb262d380
pmd-swift: checkstyle / formatting
2016-12-02 14:36:22 +01:00
cc94ed4c33
Add missing sites for sub modules (java8, test, ui)
...
Add missing sub module site menu (groovy, java8, perl, swift, test, ui)
2016-11-02 19:51:43 +01:00
92678c0c0a
Added support for Swift to CPD.
...
The tokenizer uses the ANTLR4 grammar of the Tailor static analyzer for
Swift. (https://github.com/sleekbyte/tailor )
2016-03-02 11:11:02 +01:00