/** * ConstantPropagationPass * * Runs constant propagation + dead-code detection over the AST. * * Depends on: taint-matcher (to extract inter-procedural tainted parameters * before propagation, so method-parameter taint is seeded correctly). * * Receives the parsed Tree via constructor because it needs the raw AST for * node-level analysis — the CodeGraph contains only extracted IR. */ import type { Tree } from 'web-tree-sitter'; import type { AnalysisPass, PassContext } from '../../graph/analysis-pass.js'; import { type ConstantPropagatorResult } from '../constant-propagation.js'; export type { ConstantPropagatorResult }; export declare class ConstantPropagationPass implements AnalysisPass { private readonly tree; readonly name = "constant-propagation"; readonly category: "security"; constructor(tree: Tree); run(ctx: PassContext): ConstantPropagatorResult; } //# sourceMappingURL=constant-propagation-pass.d.ts.map