import * as vscode from 'vscode' ; import { SymbolProcessor } from './symbolProcessor' ; export class Z80DocumentSymbolProvider implements vscode . DocumentSymbolProvider { constructor ( public symbolProcessor ) { } provideDocumentSymbols ( document , token ) { return this . symbolProcessor . provideSymbols ( document . fileName , null , token ) ; } } export class Z80WorkspaceSymbolProvider implements vscode . WorkspaceSymbolProvider { constructor ( public symbolProcessor ) { } provideWorkspaceSymbols ( query , token ) { return this . symbolProcessor . provideSymbols ( null , query , token ) ; } }