IStackTraceAnalyzer.d.ts 349 B

123456789101112
  1. import * as ESTree from 'estree';
  2. import { IAnalyzer } from '../IAnalyzer';
  3. import { IStackTraceData } from './IStackTraceData';
  4. export interface IStackTraceAnalyzer extends IAnalyzer<IStackTraceData> {
  5. /**
  6. * @param {Program} astTree
  7. * @returns {IStackTraceData[]}
  8. */
  9. analyze (astTree: ESTree.Program): IStackTraceData[];
  10. }