@@ -264,41 +264,6 @@ export abstract class Field {
264
264
return false ;
265
265
}
266
266
267
- /**
268
- * Parse a 'group by' line and return a {@link Grouper} object.
269
- *
270
- * Returns null line does not match this field or is invalid,
271
- * or this field does not support grouping.
272
- */
273
- public parseGroupLine ( line : string ) : Grouper | null {
274
- if ( ! this . supportsGrouping ( ) ) {
275
- return null ;
276
- }
277
-
278
- if ( ! this . canCreateGrouperForLine ( line ) ) {
279
- return null ;
280
- }
281
-
282
- return this . createGrouperFromLine ( line ) ;
283
- }
284
-
285
- /**
286
- * Returns true if the class can parse the given 'group by' instruction line.
287
- *
288
- * Current implementation simply checks whether the class does support grouping,
289
- * and whether the line matches this.grouperRegExp().
290
- * @param line - A line from a ```tasks``` block.
291
- *
292
- * @see {@link createGrouperFromLine }
293
- */
294
- public canCreateGrouperForLine ( line : string ) : boolean {
295
- if ( ! this . supportsGrouping ( ) ) {
296
- return false ;
297
- }
298
-
299
- return Field . lineMatchesFilter ( this . grouperRegExp ( ) , line ) ;
300
- }
301
-
302
267
/**
303
268
* Parse the line, and return either a {@link Grouper} object or null.
304
269
*
@@ -309,8 +274,6 @@ export abstract class Field {
309
274
* this method.
310
275
*
311
276
* @param line - A 'group by' line from a ```tasks``` block.
312
- *
313
- * @see {@link canCreateGrouperForLine }
314
277
*/
315
278
public createGrouperFromLine ( line : string ) : Grouper | null {
316
279
if ( ! this . supportsGrouping ( ) ) {
0 commit comments