Class AcceptableApplicationRegistrationsOrError
java.lang.Object
org.ek9lang.compiler.phase5.AcceptableApplicationRegistrationsOrError
- All Implemented Interfaces:
Consumer<org.antlr.v4.runtime.tree.ParseTree>
final class AcceptableApplicationRegistrationsOrError
extends Object
implements Consumer<org.antlr.v4.runtime.tree.ParseTree>
Validates that application blocks do not have too many registrations (E11042).
Too many registrations in a single application block suggests the application is trying to be a monolith. Split into focused sub-applications with distinct responsibilities.
Research basis:
- Martin, R.C.: Clean Architecture - single responsibility for configuration
- Seemann, M.: Dependency Injection in .NET - composition root size limits
-
Constructor Summary
ConstructorsConstructorDescriptionAcceptableApplicationRegistrationsOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
-
Constructor Details
-
AcceptableApplicationRegistrationsOrError
AcceptableApplicationRegistrationsOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
-