Class IRGeneration

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

public class IRGeneration extends CompilerPhase
MULTI THREADED All symbols resolve and so should be able to create an intermediate representation. But this phase will be for non-generic types ONLY - see later how the IR is created for Template/generic types. NOTE: when processing and generating nodes - YOU must visit down the tree - don't be tempted to use just the symbols from the previous phases. That was mainly to ensure semantics, this is 'the generate an IR' yes you can use information from the previous stages but the types of nodes generated are really important and it is the context of where they are defined that adds real value.