(chars: TokenT[])
| 293 | } |
| 294 | |
| 295 | join(chars: TokenT[]): ValueT { |
| 296 | // Assumes ValueT is string, which is the case for most subclasses. |
| 297 | // When it's false, e.g. in diffArrays, this method needs to be overridden (e.g. with a no-op) |
| 298 | // Yes, the casts are verbose and ugly, because this pattern - of having the base class SORT OF |
| 299 | // assume tokens and values are strings, but not completely - is weird and janky. |
| 300 | return (chars as string[]).join('') as unknown as ValueT; |
| 301 | } |
| 302 | |
| 303 | postProcess( |
| 304 | changeObjects: ChangeObject<ValueT>[], |
no outgoing calls
no test coverage detected