( breaks: boolean, matchingRule: string )
| 105 | } |
| 106 | |
| 107 | const breaksAtResult = ( |
| 108 | breaks: boolean, |
| 109 | matchingRule: string |
| 110 | ): { |
| 111 | breaks: boolean |
| 112 | matchingRule: string |
| 113 | } => ({ |
| 114 | breaks, |
| 115 | matchingRule, |
| 116 | }) |
| 117 | |
| 118 | export class Segmenter { |
| 119 | private readonly rules |