LabelVarNameCheck

Checks for labels and variables that have the same name.

Constructors

this
this(string fileName, const(Scope)* sc, bool skipTests)
Undocumented in source.

Members

Aliases

visit
alias visit = BaseAnalyzer.visit
Undocumented in source.

Functions

visit
void visit(VariableDeclaration var)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ConditionalDeclaration condition)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(LabeledStatement labeledStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(VersionCondition condition)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin ScopedVisit!Module
Undocumented in source.
__anonymous
mixin ScopedVisit!BlockStatement
Undocumented in source.
__anonymous
mixin ScopedVisit!StructBody
Undocumented in source.
__anonymous
mixin ScopedVisit!CaseStatement
Undocumented in source.
__anonymous
mixin ScopedVisit!ForStatement
Undocumented in source.
__anonymous
mixin ScopedVisit!IfStatement
Undocumented in source.
__anonymous
mixin ScopedVisit!TemplateDeclaration
Undocumented in source.
__anonymous
mixin AggregateVisit!ClassDeclaration
Undocumented in source.
__anonymous
mixin AggregateVisit!StructDeclaration
Undocumented in source.
__anonymous
mixin AggregateVisit!InterfaceDeclaration
Undocumented in source.
__anonymous
mixin AggregateVisit!UnionDeclaration
Undocumented in source.

Inherited Members

From BaseAnalyzer

messages
Message[] messages()
Undocumented in source. Be warned that the author may not have intended to support it.
visit
alias visit = ASTVisitor.visit
Undocumented in source.
visit
void visit(Unittest unittest_)

Visits a unittest.

inAggregate
bool inAggregate;
Undocumented in source.
skipTests
bool skipTests;
Undocumented in source.
visitTemplate
template visitTemplate(T)
Undocumented in source.
addErrorMessage
void addErrorMessage(size_t line, size_t column, string key, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
fileName
string fileName;

The file name

sc
const(Scope)* sc;
Undocumented in source.
_messages
MessageSet _messages;
Undocumented in source.

Meta