112 Commits

Author SHA1 Message Date
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
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
Juan Martín Sotuyo Dodero
a46aef3b40 Use Void in ProhibitedInterfaceBuilderRule 2019-08-14 14:44:26 -03:00
Tomi De Lucca
6281f81ea9 Adding to rulechain 2019-08-13 23:46:51 -03:00
Tomi De Lucca
da6aec2000 Merge branch 'pmd/7.0.x' of github.com:pmd/pmd into feature/swift-available-rule 2019-08-13 23:15:28 -03:00
Juan Martín Sotuyo Dodero
be4bef7427 Merge branch 'pr-1877' into pmd/7.0.x 2019-08-13 17:24:42 -03:00
Juan Martín Sotuyo Dodero
53eba5549c Fix RuleChain indexation
- Remove Context suffix from Antlr grammar XPath names
2019-08-12 01:25:42 -03:00
Clément Fournier
85404876f4 Fix swift source generation bound to process-sources
By convention it should be the phase generate-sources
2019-08-05 15:49:44 +02:00
Tomi De Lucca
89ede940d3 Addressed some PR comments 2019-08-04 15:25:30 -03:00
Tomi De Lucca
0f89950bfc PR Review 2019-08-04 14:49:45 -03:00
Tomi De Lucca
56a9979417 Documentation changes
Co-Authored-By: Juan Martín Sotuyo Dodero <juansotuyo@gmail.com>
2019-08-04 14:23:52 -03:00
Tomi De Lucca
6d9066067d Improved rule description 2019-06-21 16:36:23 -03:00
Tomi De Lucca
4fca74b0e0 Merge branch 'feature/swift-rules' of github.com:teamraptor/pmd into feature/swift-available-rule 2019-06-21 16:24:15 -03:00
Matias Fraga
499a31ca85 Enhance rules description 2019-06-21 13:26:08 -03:00
Tomi De Lucca
7425bbe54c Remove test 2019-06-21 01:40:29 -03:00
Tomi De Lucca
623764ebb0 Minor fixes 2019-06-21 01:35:40 -03:00
Tomi De Lucca
ec031d6ad7 Merge branch 'feature/swift-rules' of github.com:teamraptor/pmd into feature/swift-available-rule 2019-06-20 23:06:28 -03:00
Matias Fraga
93a52b7669 Fix checkstyle 2019-06-20 22:50:57 -03:00
Matias Fraga
07c19ff631 Add another xpath rule 2019-06-20 22:27:37 -03:00
Tomi De Lucca
af1b8a12aa Optimizing rule 2019-06-20 21:51:05 -03:00
Matias Fraga
ca39fc36e6 PR review 2019-06-20 21:31:48 -03:00
Tomi De Lucca
a81e68f6da Added UnavailableFunctionRule 2019-06-20 20:36:42 -03:00
Matias Fraga
cf6b1ac2b2 remove old rule 2019-06-20 20:14:13 -03:00
Matias Fraga
0f57fa460f remove unused method 2019-06-20 20:10:56 -03:00
Matias Fraga
766ccf578a Adjust some xpath rules 2019-06-20 20:02:50 -03:00
Matias Fraga
56040b403c Remove deprecated method 2019-06-20 18:30:29 -03:00
Matias Fraga
14618259dc Merge branch 'pmd/7.0.x' of github.com:pmd/pmd into feature/swift-rules 2019-06-20 18:05:33 -03:00
Andreas Dangel
dcc718d10b Merge branch 'pr-1774' into pmd/7.0.x 2019-06-15 12:17:54 +02:00
Matias Fraga
e984eff27b Add rule visitor 2019-05-25 00:15:23 -03:00
lsoncini
cd71c35a0b rule fixes to match name conventions 2019-05-24 23:31:31 -03:00
lsoncini
33983cbf55 swift ruleset boilerplate + rule tests + rules advance 2019-05-24 18:43:41 -03:00
Matias Fraga
f2f0494566 PR review 2019-05-24 12:28:44 -03:00
lsoncini
3469834ebc abstract getRootNode method 2019-04-21 02:13:04 -03:00
lsoncini
10bbe24c45 added AntlrBaseParser adapter and SwiftParserAdapter 2019-04-21 02:13:04 -03:00
lsoncini
dd841d6ccb ant file to make all swift nodes implement Node 2019-04-21 02:13:04 -03:00
lsoncini
8255af258f added Antlr visitor infrastructure and swift implementation 2019-02-25 18:34:51 -03:00
lsoncini
47bc813caf added AntlrBaseParser adapter and SwiftParserAdapter 2019-02-25 14:33:09 -03:00
lsoncini
ae05641f8c ant file to make all swift nodes implement Node 2019-02-17 02:16:24 -03:00
Clément Fournier
12b647c548 Merge branch 'master' into 7.0.x
Conflicts:
	pmd-apex-jorje/pom.xml
	pmd-apex/pom.xml
	pmd-core/pom.xml
	pmd-core/src/main/java/net/sourceforge/pmd/lang/LanguageVersionHandler.java
	pmd-core/src/main/java/net/sourceforge/pmd/util/designer/Designer.java
	pmd-cpp/pom.xml
	pmd-cpp/src/main/java/net/sourceforge/pmd/lang/cpp/CppHandler.java
	pmd-cs/pom.xml
	pmd-dist/pom.xml
	pmd-doc/pom.xml
	pmd-fortran/pom.xml
	pmd-go/pom.xml
	pmd-groovy/pom.xml
	pmd-java/pom.xml
	pmd-java8/pom.xml
	pmd-javascript/pom.xml
	pmd-jsp/pom.xml
	pmd-kotlin/pom.xml
	pmd-lang-test/pom.xml
	pmd-matlab/pom.xml
	pmd-matlab/src/main/java/net/sourceforge/pmd/lang/matlab/MatlabHandler.java
	pmd-objectivec/pom.xml
	pmd-objectivec/src/main/java/net/sourceforge/pmd/lang/objectivec/ObjectiveCHandler.java
	pmd-perl/pom.xml
	pmd-php/pom.xml
	pmd-plsql/pom.xml
	pmd-python/pom.xml
	pmd-python/src/main/java/net/sourceforge/pmd/lang/python/PythonHandler.java
	pmd-ruby/pom.xml
	pmd-scala/pom.xml
	pmd-swift/pom.xml
	pmd-test/pom.xml
	pmd-ui/pom.xml
	pmd-visualforce/pom.xml
	pmd-vm/pom.xml
	pmd-xml/pom.xml
	pom.xml
2018-12-13 18:53:10 +01:00
Andreas Dangel
dcb8bb42a2 [maven-release-plugin] prepare for next development iteration 2018-12-09 10:42:20 +01:00
Andreas Dangel
27374d8592 [maven-release-plugin] prepare release pmd_releases/6.10.0 2018-12-09 10:42:09 +01:00
Andreas Dangel
10e27ca3c0 Deprecate PMD LanguageModule for languages, that only support CPD 2018-11-26 13:55:35 +01:00
Andreas Dangel
38ab2abc46 Merge branch 'master' into pmd/7.0.x 2018-10-28 19:39:32 +01:00
Andreas Dangel
3c50db2439 [maven-release-plugin] prepare for next development iteration 2018-10-28 16:49:09 +01:00