Package org.ek9lang.compiler.phase3
Class ServiceRegistrationOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.ServiceRegistrationOrError
- All Implemented Interfaces:
Consumer<EK9Parser.RegisterStatementContext>
final class ServiceRegistrationOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.RegisterStatementContext>
Checks the use of registering a service is valid and then ensures that the 'Application'
is altered from being a general application to a service application.
This has then saved the EK9 developer declaring this - as it is obvious if they have registered a service
that the application is a service application.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionServiceRegistrationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
ServiceRegistrationOrError
ServiceRegistrationOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.RegisterStatementContext>
-