Uses of Class
org.ek9lang.compiler.phase7.generator.AbstractGenerator
Packages that use AbstractGenerator
-
Uses of AbstractGenerator in org.ek9lang.compiler.phase7.generator
Subclasses of AbstractGenerator in org.ek9lang.compiler.phase7.generatorModifier and TypeClassDescription(package private) classBoth AND/OR are very similar in processing, the only real differences are:
What operation to call and the op code to generate.(package private) classPulls out the common code for variable and variable-only declarations.final classgIR Generation for the assert statement.(package private) final class(package private) final classCreates IR instructions for assignment expressions.final classProcess assignment statement: variable = expression Uses RELEASE-then-RETAIN pattern for memory-safe assignments.final classGenerates IR instructions for binary operations (e.g., addition, subtraction, comparison, etc.).final classCreates IR instructions for block statements.final classGenerates IR instructions for function/method calls.final classUnified generator for all EK9 control flow constructs using CONTROL_FLOW_CHAIN.final classCreates IR instructions for expressions.final classGenerates IR for for-in loops: for item in collection.final classGenerates IR for for-range loops using FOR_RANGE_POLYMORPHIC instruction.final classCoordinates for-statement IR generation by delegating to specialized generators.(package private) final classGuarded assignment generator using unified CONTROL_FLOW_CHAIN approach.final classGenerates IR for if/else statements using CONTROL_FLOW_CHAIN.final classGenerates IR instructions for list literal expressions.final classCreates IR instructions for object access expressions.final classGenerates IR instructions for primary references (THIS and SUPER keywords).final classGenerates IR instructions for question operator (?) using unified SWITCH_CHAIN_BLOCK.final classGenerates IR instructions for Boolean AND operations using LOGICAL_AND_BLOCK pattern.final classGenerates IR instructions for Boolean OR operations using LOGICAL_OR_BLOCK pattern.final classCreates IR instructions for statements.final classGenerates short-circuit OR chains for multiple switch case expressions.final classGenerates IR for switch statements (statement form only) using CONTROL_FLOW_CHAIN.final classGenerates IR instructions for unary operations (e.g., unary minus, increment, decrement, etc.).final classCreates IR instructions for variable declarations.final classCreates IR instructions for variable only declarations.final classGenerates IR for while and do-while loops using CONTROL_FLOW_CHAIN.