Package org.ek9lang.compiler.backend.jvm.support
package org.ek9lang.compiler.backend.jvm.support
JVM Backend Support Utilities - Extracted utilities for bytecode generation.
This package contains focused utility classes extracted from the AbstractAsmGenerator base class, following the EK9 pattern of small, single-responsibility classes.
Context and State:
MethodContext- Shared method contextLocalVariableInfo- Local variable metadataScopeInfo- Scope boundary trackingTempVariableSource- Temp variable sources
Bytecode Generation:
LiteralBytecodeGenerator- Literal value generationVariableAccessGenerator- Variable load/storeDebugInfoGenerator- Debug info and LocalVariableTable
These utilities are composed by AbstractAsmGenerator and used by the specialized AsmGenerator subclasses.
-
ClassDescriptionGenerates debug information for JVM bytecode.Generates JVM bytecode for EK9 literal values.Metadata for a local variable needed for LocalVariableTable generation.Shared context for a method that must be coordinated across all generators.Scope boundary information for tracking variable lifetimes.Support for stack-oriented code generation.Represents the source of a temp variable for stack-oriented code generation.The type of source for a temp variable.Generates JVM bytecode for variable load and store operations.