Class ObjectAccessInstructionCreator
java.lang.Object
org.ek9lang.compiler.phase7.ObjectAccessInstructionCreator
Creates IR instructions for object access expressions.
Handles constructor calls and method calls using resolved symbols.
Generates new BasicBlock IR (IRInstructions) instead of old Block IR (INode).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(EK9Parser.ObjectAccessExpressionContext ctx, String resultVar, String scopeId) Generate IR instructions for object access expression using resolved symbols.
-
Constructor Details
-
ObjectAccessInstructionCreator
-
-
Method Details
-
apply
public List<IRInstruction> apply(EK9Parser.ObjectAccessExpressionContext ctx, String resultVar, String scopeId) Generate IR instructions for object access expression using resolved symbols. This follows the pattern used in ObjectAccessCreator.
-