code: List<JCTree> resources() {
          ListBuffer<JCTree> defs = new ListBuffer<>();
          defs.append(resource());
          while (token.kind == SEMI) {
              // All but last of multiple declarators must subsume a semicolon
              storeEnd(defs.last(), token.endPos);
              int semiColonPos = token.pos;
              nextToken();
              if (token.kind == RPAREN) { // Optional trailing semicolon
                                         // after last resource
                  break;
              }
              defs.append(resource());
          }
          return defs.toList();
      }
docs: Resources = Resource { ";" Resources }