Class PreIRListener

All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener, EK9Listener

final class PreIRListener extends ScopeStackConsistencyListener
Designed to do additional logic checks once everything has been resolved. Initially focused on ensuring that uninitialised variables are initialised before being used. But may extend to other forms of checks. For example booleans set to literals and never altered and used in an 'if'. This is designed to try and catch as much as possible before creating an Intermediate Representation and doing further checks.