PokemonExceptionCheck

Checks for Pokémon exception handling, i.e. "gotta' catch 'em all".

try {
   choose(pikachu);
} catch (Throwable e) {
   ...
}

Constructors

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

Members

Aliases

visit
alias visit = BaseAnalyzer.visit
Undocumented in source.

Functions

visit
void visit(LastCatch lc)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Catch c)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Type2 type2)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

MESSAGE
enum MESSAGE;
Undocumented in source.

Variables

KEY
enum string KEY;
Undocumented in source.
ignoreType
bool ignoreType;
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.
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