Package org.ek9lang.compiler.directives
Class ImplementsDirectiveListener
java.lang.Object
org.ek9lang.compiler.directives.ResolutionDirectiveListener
org.ek9lang.compiler.directives.ResolvedDirectiveListener
org.ek9lang.compiler.directives.ImplementsDirectiveListener
- All Implemented Interfaces:
Consumer<CompilationEvent>
,CompilationPhaseListener
Just checks if there are any directives that relate to @Implements in the parsed module and checks the
resolution through the symbol and its hierarchy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(CompilationEvent compilationEvent) Once the compiler has processed (or attempted to process) a source file it will issue this event.protected void
symbolMatch
(CompilationEvent compilationEvent, ResolutionDirective resolutionDirective, ISymbol symbol) Methods inherited from class org.ek9lang.compiler.directives.ResolvedDirectiveListener
noSymbolMatch
Methods inherited from class org.ek9lang.compiler.directives.ResolutionDirectiveListener
processDirectives
-
Constructor Details
-
ImplementsDirectiveListener
public ImplementsDirectiveListener()
-
-
Method Details
-
accept
Description copied from interface:CompilationPhaseListener
Once the compiler has processed (or attempted to process) a source file it will issue this event.- Specified by:
accept
in interfaceCompilationPhaseListener
- Specified by:
accept
in interfaceConsumer<CompilationEvent>
- Overrides:
accept
in classResolvedDirectiveListener
-
symbolMatch
protected void symbolMatch(CompilationEvent compilationEvent, ResolutionDirective resolutionDirective, ISymbol symbol) - Overrides:
symbolMatch
in classResolvedDirectiveListener
-