Class MmuTreeWalkerBase.CallableBuilder

  • Enclosing class:
    MmuTreeWalkerBase

    protected final class MmuTreeWalkerBase.CallableBuilder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CallableBuilder​(org.antlr.runtime.tree.CommonTree node)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CallableBuilder

        public CallableBuilder​(org.antlr.runtime.tree.CommonTree node)
    • Method Detail

      • setRetType

        public void setRetType​(Type retType)
      • setOutput

        public void setOutput​(Var var)
      • setBody

        public void setBody​(java.util.List<Stmt> body)
      • addParameters

        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
        Throws:
        SemanticException
      • addLocalVariables

        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
        Throws:
        SemanticException