( descriptor: string | undefined, text: string, pos: number, context: Context, )
| 114 | } |
| 115 | |
| 116 | function assertDescriptor( |
| 117 | descriptor: string | undefined, |
| 118 | text: string, |
| 119 | pos: number, |
| 120 | context: Context, |
| 121 | ): asserts descriptor is string { |
| 122 | if (!descriptor) { |
| 123 | throw new Error(getErrorMessage('key descriptor', text[pos], text, context)) |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | function hasReleaseSelf(releaseSelfModifier: string, repeatModifier: string) { |
| 128 | if (releaseSelfModifier) { |
no test coverage detected