Class InjectionOrderingOrError
java.lang.Object
org.ek9lang.compiler.phase5.InjectionOrderingOrError
- All Implemented Interfaces:
Consumer<org.antlr.v4.runtime.tree.ParseTree>
final class InjectionOrderingOrError
extends Object
implements Consumer<org.antlr.v4.runtime.tree.ParseTree>
Validates ordering in application blocks (E08200).
Walks children in source order, maintaining a growing set of available registered types.
For register statements: checks injection dependencies are already registered above.
For block statements: checks that any called functions/constructors whose types have
injection fields have those injection types already registered above.
-
Constructor Summary
ConstructorsConstructorDescriptionInjectionOrderingOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
-
Constructor Details
-
InjectionOrderingOrError
InjectionOrderingOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
-