DuplicateAttributeCheck

Checks for duplicate attributes such as @property, @safe, @trusted, @system, pure, and nothrow

Constructors

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

Members

Aliases

visit
alias visit = BaseAnalyzer.visit
Undocumented in source.

Functions

checkAttributes
void checkAttributes(Declaration node)
Undocumented in source. Be warned that the author may not have intended to support it.
checkDuplicateAttribute
void checkDuplicateAttribute(string attributeName, string attributeDesired, size_t line, size_t column, bool hasAttribute)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttributeName
string getAttributeName(Attribute attribute, size_t line, size_t column)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttributeName
string getAttributeName(MemberFunctionAttribute memberFunctionAttribute, size_t line, size_t column)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Declaration node)
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

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

Meta