Class BlockStmtInstrGenerator
java.lang.Object
org.ek9lang.compiler.phase7.BlockStmtInstrGenerator
Creates IR instructions for block statements.
Handles variable declarations, variable only declarations, and statements.
Deals with the following ANLR grammar.
blockStatement : variableDeclaration | variableOnlyDeclaration | statement ;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(EK9Parser.BlockStatementContext ctx, String scopeId) Generate IR instructions for a block statement.
-
Constructor Details
-
BlockStmtInstrGenerator
BlockStmtInstrGenerator(IRContext context)
-
-
Method Details
-
apply
Generate IR instructions for a block statement.
-