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