protected final class MmuTreeWalkerBase.CallableBuilder
extends java.lang.Object
Constructor and Description |
---|
MmuTreeWalkerBase.CallableBuilder(org.antlr.runtime.tree.CommonTree node) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Variable> |
addLocalVariables(java.util.Collection<org.antlr.runtime.tree.CommonTree> nodes,
java.util.Collection<Type> types) |
java.util.Map<java.lang.String,Variable> |
addParameters(java.util.Collection<org.antlr.runtime.tree.CommonTree> nodes,
java.util.Collection<Type> types) |
Callable |
build() |
void |
setBody(java.util.List<Stmt> body) |
void |
setOutput(Variable var) |
void |
setRetType(Type retType) |
public MmuTreeWalkerBase.CallableBuilder(org.antlr.runtime.tree.CommonTree node)
public void setRetType(Type retType)
public void setOutput(Variable var)
public void setBody(java.util.List<Stmt> body)
public java.util.Map<java.lang.String,Variable> addParameters(java.util.Collection<org.antlr.runtime.tree.CommonTree> nodes, java.util.Collection<Type> types) throws SemanticException
SemanticException
public java.util.Map<java.lang.String,Variable> addLocalVariables(java.util.Collection<org.antlr.runtime.tree.CommonTree> nodes, java.util.Collection<Type> types) throws SemanticException
SemanticException
public Callable build() throws SemanticException
SemanticException