docs: private Object[] readLocalDeclarationList(Routine routine,
              StatementCompound context) {
  
          HsqlArrayList list = new HsqlArrayList();
  
          while (token.tokenType == Tokens.DECLARE) {
              Object var = readLocalVariableDeclarationOrNull();
  
              if (var == null) {
                  var = readLocalHandlerDeclaration(routine, context);
              }
  
              list.add(var);
          }
  
          Object[] declarations = new Object[list.size()];
  
          list.toArray(declarations);
  
          return declarations;
      }