MCPcopy
hub / github.com/callstack/agent-device / updateDeclarationScan

Function updateDeclarationScan

src/utils/xml.ts:285–290  ·  view source on GitHub ↗
(state: DeclarationScanState, char: string | undefined)

Source from the content-addressed store, hash-verified

283}
284
285function 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
292function updateDeclarationQuote(state: DeclarationScanState, char: string): boolean {
293 if (state.quote) {

Callers 1

skipDeclarationMethod · 0.85

Calls 3

updateDeclarationQuoteFunction · 0.85
isDeclarationEndFunction · 0.85

Tested by

no test coverage detected