Class MmuTreeWalkerBase.IfBuilder
- java.lang.Object
-
- ru.ispras.microtesk.mmu.translator.MmuTreeWalkerBase.IfBuilder
-
- Enclosing class:
- MmuTreeWalkerBase
protected final class MmuTreeWalkerBase.IfBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addElseIf(org.antlr.runtime.tree.CommonTree where, ru.ispras.fortress.expression.Node cond, java.util.List<Stmt> stmts)
Stmt
build()
void
setElse(org.antlr.runtime.tree.CommonTree where, java.util.List<Stmt> stmts)
-
-
-
Constructor Detail
-
IfBuilder
public IfBuilder(org.antlr.runtime.tree.CommonTree where, ru.ispras.fortress.expression.Node cond, java.util.List<Stmt> stmts) throws SemanticException
- Throws:
SemanticException
-
-
Method Detail
-
addElseIf
public void addElseIf(org.antlr.runtime.tree.CommonTree where, ru.ispras.fortress.expression.Node cond, java.util.List<Stmt> stmts) throws SemanticException
- Throws:
SemanticException
-
setElse
public void setElse(org.antlr.runtime.tree.CommonTree where, java.util.List<Stmt> stmts) throws SemanticException
- Throws:
SemanticException
-
build
public Stmt build()
-
-