-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathqueries.js
More file actions
49 lines (48 loc) · 1.94 KB
/
Copy pathqueries.js
File metadata and controls
49 lines (48 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
* queries.js — Barrel re-export file.
*
* All query logic lives in the sub-modules under src/analysis/ and src/shared/.
* This file exists purely for backward compatibility so that all existing
* importers continue to work without changes.
*/
// ── Re-export from dedicated module for backward compat ───────────────────
export { isTestFile, TEST_PATTERN } from '../infrastructure/test-filter.js';
export { iterListFunctions, iterRoles, iterWhere } from '../shared/generators.js';
// ── Kind/edge constants (canonical source: kinds.js) ─────────────────────
export {
ALL_SYMBOL_KINDS,
CORE_EDGE_KINDS,
CORE_SYMBOL_KINDS,
EVERY_EDGE_KIND,
EVERY_SYMBOL_KIND,
EXTENDED_SYMBOL_KINDS,
STRUCTURAL_EDGE_KINDS,
VALID_ROLES,
} from '../shared/kinds.js';
// ── Shared utilities ─────────────────────────────────────────────────────
export { kindIcon, normalizeSymbol } from '../shared/normalize.js';
export { briefData } from './analysis/brief.js';
export { contextData, explainData } from './analysis/context.js';
export { fileDepsData, fnDepsData, pathData } from './analysis/dependencies.js';
export { exportsData } from './analysis/exports.js';
export {
diffImpactData,
diffImpactMermaid,
fnImpactData,
impactAnalysisData,
} from './analysis/impact.js';
export {
FALSE_POSITIVE_CALLER_THRESHOLD,
FALSE_POSITIVE_NAMES,
moduleMapData,
statsData,
} from './analysis/module-map.js';
export { rolesData } from './analysis/roles.js';
// ── Analysis modules ─────────────────────────────────────────────────────
export {
childrenData,
findMatchingNodes,
listFunctionsData,
queryNameData,
whereData,
} from './analysis/symbol-lookup.js';