Class RegistrationDataOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.RegistrationDataOrError
- All Implemented Interfaces:
Consumer<EK9Parser.RegisterStatementContext>
final class RegistrationDataOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.RegisterStatementContext>
Stores registration data on the application symbol for both component and service registrations.
Component registration:
register ConcreteComp() as AbstractComp
Service registration: register ServiceType()
The data is stored on the application's AggregateSymbol and flows through to IR generation.-
Field Summary
Fields inherited from class RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsConstructorDescriptionRegistrationDataOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
RegistrationDataOrError
RegistrationDataOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceConsumer<EK9Parser.RegisterStatementContext>
-