Uses of Package
org.ek9lang.compiler.phase7.generator
Packages that use org.ek9lang.compiler.phase7.generator
Package
Description
K - Intermediate Representation Generation.
-
Classes in org.ek9lang.compiler.phase7.generator used by org.ek9lang.compiler.phase7
-
Classes in org.ek9lang.compiler.phase7.generator used by org.ek9lang.compiler.phase7.generatorClassDescriptionActs as base for most generators as they all require the context and in most cases need to generate debug information.Both AND/OR are very similar in processing, the only real differences are:
What operation to call and the op code to generate.Pulls out the common code for variable and variable-only declarations.Generates IR instructions for binary operations (e.g., addition, subtraction, comparison, etc.).Data class to hold parameters for guarded assignment generation.Generates IR instructions for question operator (?) using unified SWITCH_CHAIN_BLOCK.Generates IR instructions for unary operations (e.g., unary minus, increment, decrement, etc.).