LabelVarNameCheck

Checks for labels and variables that have the same name.

Constructors

this
this(string fileName)
Undocumented in source.

Members

Aliases

visit
alias visit = BaseAnalyzer.visit
Undocumented in source.

Functions

visit
void visit(Module mod)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(BlockStatement block)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(VariableDeclaration var)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StructBody structBody)
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.

Inherited Members

From BaseAnalyzer

messages
Message[] messages()
Undocumented in source. Be warned that the author may not have intended to support it.
inAggregate
bool inAggregate;
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

_messages
MessageSet _messages;
Undocumented in source.

Meta