/** * SceneGraph-specific queries over the XML CST. * * These are the typed replacements for the regex-based functions that used * to live in `../utils/xmlParsing.ts` (and were duplicated in * `src/server/brightscript/xmlScriptParser.ts` and * `packages/linter/src/analysis/xmlParser.ts`) — same exported names and * shapes so existing callers migrate without a rewrite, now backed by a real * parse instead of independent regexes. Fixes two known regex bugs for * free: a commented-out `` is never seen as real (comments are * lexer trivia, not text the query layer scans), and single-quoted * `uri='...'` now matches (the old `parseXmlScriptUris` only matched double * quotes). */ /** Extracts all script URIs from `