visitSimpleFormalParameter method
Implementation
@override
void visitSimpleFormalParameter(SimpleFormalParameter node) {
final name = node.name;
if (name != null && node.type == null && !name.lexeme.isJustUnderscores) {
if (node.keyword != null) {
reportToken(node.keyword!, message: _message, correction: _correction);
} else {
reportAstNode(node, message: _message, correction: _correction);
}
}
}