registerNodeProcessors method
void
registerNodeProcessors(
- RuleVisitorRegistry registry,
- AbstractAnalysisRule rule
Implementation
void registerNodeProcessors(
RuleVisitorRegistry registry,
AbstractAnalysisRule rule,
) {
registry.addVariableDeclaration(rule, this);
registry.addPatternVariableDeclaration(rule, this);
registry.addConstantPattern(rule, this);
registry.addArgumentList(rule, this);
registry.addAssignmentExpression(rule, this);
registry.addMethodDeclaration(rule, this);
registry.addBinaryExpression(rule, this);
registry.addConditionalExpression(rule, this);
registry.addListLiteral(rule, this);
registry.addSetOrMapLiteral(rule, this);
registry.addRecordLiteral(rule, this);
registry.addIfElement(rule, this);
registry.addForElement(rule, this);
registry.addMapLiteralEntry(rule, this);
registry.addDefaultFormalParameter(rule, this);
registry.addReturnStatement(rule, this);
registry.addExpressionFunctionBody(rule, this);
registry.addSwitchExpressionCase(rule, this);
}