Class ObjectAccessInstrGenerator
java.lang.Object
org.ek9lang.compiler.phase7.generator.AbstractGenerator
org.ek9lang.compiler.phase7.generator.ObjectAccessInstrGenerator
Creates IR instructions for object access expressions.
Handles constructor calls and method calls using resolved symbols.
Generates new BasicBlock IR (IRInstructions).
-
Field Summary
Fields inherited from class org.ek9lang.compiler.phase7.generator.AbstractGenerator
debugInfoCreator, instructionBuilder, stackContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(EK9Parser.ObjectAccessExpressionContext ctx, VariableDetails variableDetails) Generate IR instructions for object access expression using resolved symbols.Methods inherited from class org.ek9lang.compiler.phase7.generator.AbstractGenerator
extractCallMetaData, getRecordedSymbolOrException
-
Constructor Details
-
ObjectAccessInstrGenerator
ObjectAccessInstrGenerator(IRGenerationContext stackContext)
-
-
Method Details
-
apply
public List<IRInstr> apply(EK9Parser.ObjectAccessExpressionContext ctx, VariableDetails variableDetails) Generate IR instructions for object access expression using resolved symbols. This follows the pattern used in ObjectAccessCreator.
-