Class InjectionCycleOrError
java.lang.Object
org.ek9lang.compiler.phase5.InjectionCycleOrError
- All Implemented Interfaces:
Consumer<org.antlr.v4.runtime.tree.ParseTree>
final class InjectionCycleOrError
extends Object
implements Consumer<org.antlr.v4.runtime.tree.ParseTree>
Detects circular dependencies in component injection chains per application (E08190).
Uses DFS with path tracking on the registration dependency graph.
A cycle exists when Component A requires Component B and Component B
(directly or transitively) requires Component A.
-
Constructor Summary
ConstructorsConstructorDescriptionInjectionCycleOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
-
Constructor Details
-
InjectionCycleOrError
InjectionCycleOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
-