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
bbbb0807c2
Merge branch 'master' into pmd/7.0.x
2019-05-26 12:45:48 +02:00
Andreas Dangel
5ac687918a
[maven-release-plugin] prepare for next development iteration
2019-05-26 11:02:26 +02:00
Andreas Dangel
ba2d795f59
[maven-release-plugin] prepare release pmd_releases/6.15.0
2019-05-26 11:02:18 +02:00
Andreas Dangel
a1a13b6234
[dart] Add multi-line string example
2019-05-25 19:18:09 +02:00
Maikel Steneker
806b130e4a
Improved Dart tokenizer to handle strings correctly.
...
This is based on the grammar at https://github.com/chalin/dart-spec-and-grammar/blob/master/doc/grammar-AUTOGENERATED-DO-NOT-EDIT.txt .
The string handling is now much closer to this grammar, resulting in more files being tokenized correctly.
2019-05-21 14:43:34 +02:00
Maikel Steneker
bcf0de6880
Various unit tests for strings that are currently not handled correctly by the Dart tokenizer.
2019-05-21 14:43:16 +02:00
Andreas Dangel
47f8192764
Merge remote-tracking branch 'origin/master' into pmd/7.0.x
2019-05-11 12:03:08 +02:00
Juan Martín Sotuyo Dodero
3a42d14ff2
Merge branch 'pr-1803'
2019-04-30 10:40:33 -03:00
Maikel Steneker
1ebfb7df87
Extended Dart grammar to take escape sequences into account.
2019-04-30 14:01:07 +02:00
Maikel Steneker
6f442b15ca
Added Dart tokenizer test cases for escaped backslashes (\\) and other characters (\n, \$).
2019-04-30 13:58:12 +02:00
Andreas Dangel
ca9c859c0b
[maven-release-plugin] prepare for next development iteration
2019-04-28 10:35:44 +02:00
Andreas Dangel
cd8b2e3217
[maven-release-plugin] prepare release pmd_releases/6.14.0
2019-04-28 10:35:36 +02:00
Andreas Dangel
e5bafbc475
Merge remote-tracking branch 'origin/master' into pmd/7.0.x
2019-04-27 19:26:05 +02:00
Maikel Steneker
26a64be1d2
Dart grammar now supports string containing escaped quotes.
2019-04-24 15:52:22 +02:00
Maikel Steneker
1e2e591ac4
Added unit test for string containing escaped quotes.
2019-04-24 15:43:53 +02:00
Clément Fournier
df048f6b6b
Update pmd-dart version
2019-04-11 15:30:31 +02:00
Juan Martín Sotuyo Dodero
ee227019aa
Update changelog, refs #1761
2019-04-10 16:17:25 -03:00
Maikel Steneker
7b78ac75d0
Minor formatting changes.
2019-04-05 17:22:31 +02:00
Maikel Steneker
1a16d1a52d
Adjusted Dart tokenizer to skip over uninteresting changes.
2019-04-05 17:05:26 +02:00
Maikel Steneker
745ebc461c
Added test cases for Dart support for CPD.
2019-04-05 17:04:49 +02:00
Maikel Steneker
8db2026735
Added Dart support to CPD.
...
The tokenizer uses an ANTLR4 grammar based on the one at https://github.com/antlr/grammars-v4/tree/master/dart2 .
2019-04-05 17:04:00 +02:00