Class ServiceApplicationMarker
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.ServiceApplicationMarker
- All Implemented Interfaces:
Consumer<EK9Parser.RegisterStatementContext>
final class ServiceApplicationMarker
extends TypedSymbolAccess
implements Consumer<EK9Parser.RegisterStatementContext>
Alters an 'Application' from being a general application to a service application when it registers a service.
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.
Only called for a registration
RegisteredConstructionOrError has accepted, so a registration without 'as'
is known to construct a service.-
Field Summary
Fields inherited from class RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsConstructorDescriptionServiceApplicationMarker(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class TypedSymbolAccess
emitTypeNotResolvedError, getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
ServiceApplicationMarker
ServiceApplicationMarker(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceConsumer<EK9Parser.RegisterStatementContext>
-