code: public Map<String,Object> getMap(String name){
          if(variables.containsKey(name))
              return variables;
          else if(parent!=null)
              return parent.getMap(name);
          return null;
      }
docs: Find map containing parameter from this context and upwards
  
  @param name
  @return