Class SymbolDefinition

java.lang.Object
org.ek9lang.compiler.CompilerPhase
org.ek9lang.compiler.phase1.SymbolDefinition
All Implemented Interfaces:
BiFunction<Workspace,CompilerFlags,CompilationPhaseResult>

public final class SymbolDefinition extends CompilerPhase
Can be MULTI THREADED for developer source, but must be single threaded for bootstrapping. Goes through the now successfully parse source files and uses a listener to do the first real pass at building the IR - simple Symbol definitions. This means identifying types and other symbols. Uses Java 21 with full virtual Threads. Note that most of the real processing is done in the DefinitionListener. This is just the wrapper entry point that is public, so it can be plugged into the FrontEndSupplier.