(state: DeclarationScanState, char: string | undefined)
| 283 | } |
| 284 | |
| 285 | function updateDeclarationScan(state: DeclarationScanState, char: string | undefined): boolean { |
| 286 | if (char === undefined) return false; |
| 287 | if (updateDeclarationQuote(state, char)) return false; |
| 288 | updateDeclarationBracketDepth(state, char); |
| 289 | return isDeclarationEnd(state, char); |
| 290 | } |
| 291 | |
| 292 | function updateDeclarationQuote(state: DeclarationScanState, char: string): boolean { |
| 293 | if (state.quote) { |
no test coverage detected