public void declareFunction(String name, FunDecl funDecl) {
        if(funDecls.containsKey(name)) {
            throw new RuntimeException("Function <" + name + "> already defined current context");
        }
        funDecls.put(name, funDecl);
    }