Every declaration found in a file, plus whether it uses only().
const scan: DeclarationScan = { declarations: [{ kind: 'module', name: 'Cart', startLine: 1, endLine: 20, parent: null }], hasOnly: false, }; scan.hasOnly; // false — no only() call, so a line target can still match
All test/module declarations, sorted by start line, with parent links resolved.
hasOnly: boolean
True when the file calls only(), which makes QUnit ignore every other test in the run.