18 lines
610 B
TypeScript
18 lines
610 B
TypeScript
import { Disposable } from "@hediet/std/disposable";
|
|
import { VsCodeDebugger, VsCodeDebuggerView } from "../VsCodeDebugger";
|
|
import { DataSourceImpl } from "./DataSourceImpl";
|
|
import { defaultDataExtractionProviderFactory } from "./DataExtractionProvider";
|
|
|
|
export class Sources {
|
|
public readonly dispose = Disposable.fn();
|
|
private readonly debugger = this.dispose.track(new VsCodeDebugger());
|
|
private readonly debuggerView = this.dispose.track(
|
|
new VsCodeDebuggerView(this.debugger)
|
|
);
|
|
|
|
public readonly dataSource = new DataSourceImpl(
|
|
this.debuggerView,
|
|
defaultDataExtractionProviderFactory
|
|
);
|
|
}
|