Class 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.