import * as vscode from 'vscode' ; import PlSqlParser from '../plsqlParser.vscode' ; import { PLSQLSettings } from '../plsql.settings' ; export class PLSQLDocumentSymbolProvider implements vscode . DocumentSymbolProvider { public provideDocumentSymbols ( document , token ) { PlSqlParser . initParser ( PLSQLSettings . getCommentInSymbols ( ) ) ; return PlSqlParser . getAllSymbols ( document ) ; } }