mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-27 13:50:02 +03:00
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
This commit is contained in:
parent
1e8f1ec9e6
commit
42033dcc55
57 changed files with 268 additions and 240 deletions
|
@ -28,9 +28,9 @@ final class FunctionAttributeCheck : BaseAnalyzer
|
|||
|
||||
mixin AnalyzerInfo!"function_attribute_check";
|
||||
|
||||
this(string fileName, const(Scope)* sc, bool skipTests = false)
|
||||
this(BaseAnalyzerArguments args)
|
||||
{
|
||||
super(fileName, sc, skipTests);
|
||||
super(args);
|
||||
}
|
||||
|
||||
override void visit(const InterfaceDeclaration dec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue