Class ObjectAccessInstrGenerator
java.lang.Object
org.ek9lang.compiler.phase7.ObjectAccessInstrGenerator
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
-
Constructor Details
-
ObjectAccessInstrGenerator
ObjectAccessInstrGenerator(IRContext context)
-
-
Method Details
-
apply
public List<IRInstr> 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.
-