Clément Fournier
60d276c2a0
Remove old rulechain impl
2020-05-18 14:57:53 +02:00
kenji
e8f9d939e2
Swift 4.2-5.2 support
2020-05-14 10:24:47 +02:00
Clément Fournier
f1d6e22c49
Reintroduce AntlrNode
2020-05-02 23:17:47 +02:00
Clément Fournier
7a2701fd38
Store constant images in the name dictionary
2020-05-02 22:56:42 +02:00
Clément Fournier
3190c0365c
Fix rule tests
2020-05-02 22:56:42 +02:00
Clément Fournier
473ae2ef19
Fix child index
2020-05-02 22:56:42 +02:00
Clément Fournier
42308da047
Fix name dictionary (all tokens need a name)
2020-05-02 22:56:42 +02:00
Clément Fournier
06a910fe11
Doc
2020-05-02 22:56:42 +02:00
Clément Fournier
4820e812e3
Fix error nodes not extending SwiftNode
2020-05-02 22:56:42 +02:00
Clément Fournier
cc97807d41
Fix error nodes
2020-05-02 22:56:42 +02:00
Clément Fournier
1359f792c2
Abstract ant wrapper for antlr
2020-05-02 22:56:42 +02:00
Clément Fournier
3aadb253a3
Use adapters to be able to make pmd nodes first-class
2020-05-02 22:56:42 +02:00
Clément Fournier
f7560ed9fb
Preserve terminal nodes
2020-05-02 22:56:42 +02:00
Clément Fournier
97fef3fbd9
Fix tree builder, add tests
2020-05-02 22:56:42 +02:00
Clément Fournier
4e55164961
Refactor antlr impl entirely
...
PMD Node implementations don't extend antlr
classes anymore
2020-05-02 22:56:42 +02:00
Clément Fournier
9effca7143
Build tree using a parse tree listener
2020-05-02 22:56:42 +02:00
Clément Fournier
f0652dda76
Remove parser type parameter
2020-05-02 22:56:42 +02:00
Clément Fournier
f779688cab
Make getText @NoAttribute
2020-05-02 22:56:42 +02:00
Clément Fournier
13b7fa6152
Turn ProhibitedInterfaceBuilder into XPath rule
2020-05-02 22:56:42 +02:00
Clément Fournier
cf37bba1b4
Reimplement swift rules without @Text
2020-05-02 22:56:42 +02:00
Clément Fournier
a857667ef8
Fix terminal XPath names
2020-05-02 22:56:42 +02:00
Clément Fournier
7588796419
Fix coordinates
2020-05-02 22:56:42 +02:00
Clément Fournier
8ef2a14923
Add interface for SwiftNode
2020-05-02 22:56:42 +02:00
Clément Fournier
03bbab3b10
Fix index in parent
2020-05-02 22:56:42 +02:00
Clément Fournier
8be81b71fa
Cleanup file node
2020-05-02 22:56:42 +02:00
Clément Fournier
164c1361a6
Add supertype to swift nodes
2020-05-02 22:56:42 +02:00
Clément Fournier
e61f03aafa
Remove base visitor class
2020-05-02 22:56:42 +02:00
Clément Fournier
fe656d203d
Remove AntlrBaseRootNode
2020-05-02 22:56:42 +02:00
Clément Fournier
7028157808
Ensure Parser returns a RootNode
2020-04-26 17:29:27 +02:00
Andreas Dangel
4308c545e5
[maven-release-plugin] prepare for next development iteration
2020-04-24 10:53:12 +02:00
Andreas Dangel
921c65f5ab
[maven-release-plugin] prepare release pmd_releases/6.23.0
2020-04-24 10:53:00 +02:00
Clément Fournier
0ef6dd144d
Merge branch 'master' into 7.0.x
2020-03-20 18:04:17 +01:00
Andreas Dangel
56d5a6afa3
[swift] Add unit test for #628
...
Closes #628
2020-03-20 13:55:04 +01:00
Andreas Dangel
4c020bfbf7
[maven-release-plugin] prepare for next development iteration
2020-03-12 15:15:18 +01:00
Andreas Dangel
eb93aaeca7
[maven-release-plugin] prepare release pmd_releases/6.22.0
2020-03-12 15:15:09 +01:00
Andreas Dangel
d994700617
[maven-release-plugin] prepare for next development iteration
2020-01-24 17:20:47 +01:00
Andreas Dangel
a28e9e22e5
[maven-release-plugin] prepare release pmd_releases/6.21.0
2020-01-24 17:20:38 +01:00
Clément Fournier
53b2b4f201
Definitely fix swift impl
2020-01-17 14:01:20 +01:00
Clément Fournier
db424fc1e6
Changes to antlr impl
...
* AntlrBaseVisitor does not extend AbstractRule anymore
* An AntlrBaseRule *uses* a visitor, it *is* not a visitor
2020-01-17 13:41:52 +01:00
Andreas Dangel
00392cefc2
[maven-release-plugin] prepare for next development iteration
2019-11-29 19:46:14 +01:00
Andreas Dangel
78da370fb8
[maven-release-plugin] prepare release pmd_releases/6.20.0
2019-11-29 19:46:05 +01:00
Andreas Dangel
deec9c44b2
[maven-release-plugin] prepare for next development iteration
2019-10-31 18:36:51 +01:00
Andreas Dangel
2881b6f585
[maven-release-plugin] prepare release pmd_releases/6.19.0
2019-10-31 18:36:42 +01:00
Clément Fournier
12d04beb9b
Fix some pr comments
2019-10-07 00:03:17 +02:00
Clément Fournier
b270076e13
Remove useless violation factories
2019-10-07 00:03:00 +02: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
e293d57681
Checkstyle
2019-09-25 11:06:03 +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
Clément Fournier
4890905699
Remove Parser#canParse
2019-09-24 09:13:15 +02:00
Andreas Dangel
e536ca1947
[maven-release-plugin] prepare for next development iteration
2019-09-15 10:14:14 +02:00