Class BlockStmtInstrGenerator

java.lang.Object
org.ek9lang.compiler.phase7.BlockStmtInstrGenerator

final class BlockStmtInstrGenerator extends Object
Creates IR instructions for block statements. Handles variable declarations, variable only declarations, and statements.

Deals with the following ANLR grammar.

   blockStatement
     : variableDeclaration
     | variableOnlyDeclaration
     | statement
     ;