Class VariableOnlyDeclInstrGenerator

java.lang.Object
org.ek9lang.compiler.phase7.generator.AbstractGenerator
org.ek9lang.compiler.phase7.generator.VariableOnlyDeclInstrGenerator
All Implemented Interfaces:
Function<EK9Parser.VariableOnlyDeclarationContext,List<IRInstr>>

public final class VariableOnlyDeclInstrGenerator extends AbstractGenerator implements Function<EK9Parser.VariableOnlyDeclarationContext,List<IRInstr>>
Creates IR instructions for variable only declarations. Uses REFERENCE instructions for all variables - backend handles storage allocation.

STACK-BASED: Now uses IRGenerationContext for scope management instead of parameter threading.