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