Class AssignmentExprInstrGenerator
java.lang.Object
org.ek9lang.compiler.phase7.AssignmentExprInstrGenerator
Creates IR instructions for assignment expressions.
Generates new BasicBlock IR (IRInstructions).
Note that this is just really a 'pointer' assignment to some existing allocated object/memory. It is not a deep copy in any way.
THis deals with the following ANTLR grammar.
assignmentExpression : expression | guardExpression | dynamicClassDeclaration | switchStatementExpression | tryStatementExpression | whileStatementExpression | forStatementExpression | streamExpression ;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(EK9Parser.AssignmentExpressionContext ctx, String resultVar) Generate IR instructions for assignment expression.
-
Constructor Details
-
AssignmentExprInstrGenerator
-
-
Method Details
-
apply
Generate IR instructions for assignment expression.
-