Package org.ek9lang.compiler.directives
Class ComplexityDirectiveListener
java.lang.Object
org.ek9lang.compiler.directives.ResolutionDirectiveListener
org.ek9lang.compiler.directives.ResolvedDirectiveListener
org.ek9lang.compiler.directives.ComplexityDirectiveListener
- All Implemented Interfaces:
Consumer<CompilationEvent>
,CompilationPhaseListener
Checks if there are any directives that relate to complexity in the parsed module.
-
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
-
ComplexityDirectiveListener
public ComplexityDirectiveListener()
-
-
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
-