docs: public void addParam(AstNode param) {
          assertNotNull(param);
          if (params == null) {
              params = new ArrayList<AstNode>();
          }
          params.add(param);
          param.setParent(this);
      }