44 Commits

Author SHA1 Message Date
Andreas Dangel
3a7460de29 [lang-test] Move classes into n.s.p.lang.test 2024-02-23 17:46:23 +01:00
Andreas Dangel
6163f67b06 [core] Rename Tokenizer to CpdLexer
See #4065
2024-01-11 17:04:48 +01:00
Andreas Dangel
32afa53f8e All language modules: getInstance()
Use a consistent implementation of getInstance().
Now all modules resolve against the LanguageRegistry.
2023-08-24 16:01:27 +02:00
Clément Fournier
c572cb88d7 Rename package cpd.internal to cpd.impl 2023-02-13 15:18:37 +01:00
Clément Fournier
ddbfc90c14 Fix build 2023-02-12 20:06:28 +01:00
Clément Fournier
fb9f49624d Delete old CPD Language interface
reorganize cpd modules
2023-02-12 18:03:58 +01:00
Clément Fournier
cf81809990 Change a ton of stuff in CPD 2023-02-10 18:21:23 +01:00
Andreas Dangel
7ef6198a3b Merge branch 'pmd/7.0.x' into pmd7-junit5-part2 2022-07-22 21:22:45 +02:00
Clément Fournier
59d931cd91 Merge remote-tracking branch 'upstream/pmd/7.0.x' into text-utils-simple 2022-07-10 13:50:03 +02:00
Andreas Dangel
4284583261 [go] Migrate tests to Junit5 2022-07-07 17:22:24 +02:00
Andreas Dangel
8248f6e4e1 Fix unit tests 2022-05-26 11:49:51 +02:00
Andreas Dangel
82dd4d46ca Merge branch 'master' into pmd/7.0.x 2022-05-26 11:21:38 +02:00
Clément Fournier
078345fbca Add phonetic extensions to other langs 2022-05-01 18:16:53 +02:00
Clément Fournier
669f2fecbd Same for go
Fix #2752
2022-05-01 17:59:21 +02:00
Clément Fournier
efcfb665ad Cleanups for antlr tokenizers 2020-09-17 22:37:10 +02:00
Andreas Dangel
47ab1f34a4 Delete old antlr4 package-infos 2020-09-13 11:41:26 +02:00
Andreas Dangel
4732164a45 Merge branch 'pmd/7.0.x' into pr-2753 2020-09-13 11:40:23 +02:00
Andreas Dangel
3caa6dd0ba Merge branch 'master' into pmd/7.0.x 2020-09-13 11:39:37 +02:00
Andreas Dangel
7a1e3caba0 Add deprecations for antlr lexers that will be moved with PMD 7
Refs pmd/pmd#2753
2020-09-13 11:28:07 +02:00
Clément Fournier
8620080b92 Same for Golang 2020-08-30 18:52:47 +02:00
Andreas Dangel
e4690cb56a Fix compile errors for CPD only languages 2020-07-17 15:04:43 +02:00
Clément Fournier
5b7ed588ea Make CPD end column exclusive
This is to align it with PMD columns,
which in 7.0 are already exclusive.
2020-06-19 02:21:45 +02:00
Clément Fournier
c49d9e315f Merge branch 'master' into 7.0.x 2020-06-19 01:32:32 +02:00
Clément Fournier
da371182aa Convert Go tests 2020-06-13 22:00:58 +02:00
Clément Fournier
b3db34042f Merge branch 'master' into 7.0.x 2020-05-13 17:47:21 +02:00
Fernando Cosso
4f96286902 Implementing changes from the discussion 2020-05-07 11:49:52 -04:00
Clément Fournier
ec1eb208eb Merge branch 'master' into 7.0.x 2020-01-24 23:48:22 +01:00
Clément Fournier
d90d5d267c Remove trailing whitespace everywhere 2020-01-24 23:40:06 +01:00
Clément Fournier
2d74ec4012 Merge branch 'wire-processing-stages' into 7.0.x 2019-10-05 15:58:47 +02:00
Clément Fournier
e6a2a60aaa Forgot golang and groovy 2019-09-27 18:24:22 +02:00
Clément Fournier
b51c02f93b Reorganise antlr files
Antlr root nodes need to implement RootNode.

Also, I didn't like the fact that the swift
module didn't use the conventional package
structure (lang.swift.ast) but was rolling
its own convention (lang.swift.antlr4).

I moved base classes for the antlr implementations
into nspmd.lang.ast.impl.antlr4. The fact that a
module is implemented with antlr is an implementation
detail, and it doesn't deserve its own toplevel package
in nspmd.lang.
2019-09-25 03:49:36 +02:00
Andreas Dangel
2e8056dc28 Fix checkstyle 2019-04-05 14:10:57 +02:00
Juan Martín Sotuyo Dodero
f268377c4d [go] Fix grammar around escape characters
- Fixes #1751
2019-04-03 01:01:33 -03:00
Tomi De Lucca
decb969491 Antlr token manager now is responsible of filtering non default tokens 2019-02-17 17:36:15 -03:00
Tomi De Lucca
8a46cea437 Added AntlrTokenFilter 2019-01-28 01:26:10 -03:00
Juan Martín Sotuyo Dodero
190e49efb9 Fix version test 2018-10-15 02:09:33 -03:00
Juan Martín Sotuyo Dodero
e1f162dbaa Minor improvements 2018-10-15 01:47:26 -03:00
Matias Fraga
f8158c3b9f Fix packages 2018-10-14 22:21:02 -03:00
Matias Fraga
56809ca824 Add CPD support for antlr based grammar on Golang 2018-10-14 19:00:12 -03:00
Andreas Dangel
3d9511a0e5 [doc] Remove old maven site 2017-08-15 14:31:03 +02:00
Matias Comercio
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
Andreas Dangel
cab1980bbd pmd-go: checkstyle / formatting 2016-12-02 09:30:09 +01:00
Andreas Dangel
d9ff018846 Checkstyle, whitespace, formatting 2014-10-21 22:38:19 +02:00
Andreas Dangel
c7d3d2969f Move Go Language into own sub-module, update changelog 2014-10-12 20:05:17 +02:00