lucica28
396bedcd10
update dmd and include the API needed for semantic analysis ( #66 )
...
* update dmd and include the API needed for semantic analysis
* update libparse + initial implementation for properly documented public functions
* test
* refactor
* update workflows
* delete unused code
2024-01-29 16:05:33 +02:00
lucica28
82bc26b7be
replace libdpase in assert without msg visitor ( #50 )
2024-01-29 15:26:14 +02:00
Lucian Danescu
150643c4d3
Replace libdparse in enum array functionality
2024-01-24 13:14:35 +02:00
WebFreak001
42033dcc55
add BaseAnalyzerArguments to keep ctor changes sane
...
also immediately makes tokens a part of it
This struct can for example precompute token indices for line endings
2023-10-25 08:49:37 +02:00
ricardaxel
1e8f1ec9e6
Allow skipping checks with @("nolint(...)") and @nolint("...") ( #936 )
...
Co-authored-by: Axel Ricard <contact@axelricard.fr>
Co-authored-by: WebFreak001 <gh@webfreak.org>
2023-10-13 02:45:59 +02:00
WebFreak001
48db254fb0
fix if scopes and shortened function bodies
2023-07-10 00:52:04 +02:00
WebFreak001
d275361153
fix case/default scopes, fix #913
2023-07-10 00:52:04 +02:00
WebFreak001
3345a1953a
improve public auto fix API
2023-07-08 23:09:33 +02:00
WebFreak001
4194e6af0c
add `dscanner fix` command
2023-07-08 23:09:33 +02:00
WebFreak001
48cec8a6f4
implement indentation aware autofixes
2023-07-08 23:09:33 +02:00
WebFreak001
93aae57469
add autofix testing API
2023-07-08 23:09:33 +02:00
WebFreak001
513b7dafc3
add auto-fix API
2023-07-08 23:09:33 +02:00
WebFreak001
b115a6333a
also add byte indices to diagnostic ranges
...
For tools wanting to read from the source file this makes it much easier
to look up the code.
2023-06-29 17:43:30 +02:00
WebFreak001
5c2035ff76
add end line/column to warnings
2023-06-29 13:19:36 +02:00
Eugene Wissner
3b9d608866
Track check name for error messages ( #769 )
...
* Track check name for error messages
* Assert BaseAnalyzer.getName() is implemented
2019-07-09 12:16:25 +02:00
Basile Burg
4231deb046
fix all cases of mixed tabs and spaces
2018-04-07 22:09:39 +02:00
Laurent Tréguier
2be1a1f22f
Move everything under package `dscanner` ( #526 )
...
* Move everything under package `dscanner`
* Fix .gitignore
* Fix .dscanner.ini
2018-03-22 20:15:42 +01:00