import { worker } from 'monaco-editor' ; import MySQL from 'dt-sql-parser/dist/parser/generic' ; import { ICreateData } from '../_.contribution' ; import { BaseSQLWorker } from '../baseSQLWorker' ; export class SQLWorker extends BaseSQLWorker { protected _ctx : worker . IWorkerContext ; protected parser : MySQL ; constructor ( ctx , createData ) { super ( ) ; this . _ctx = ctx ; this . parser = new MySQL ( ) ; } } export function create ( ctx , createData ) { return new SQLWorker ( ctx , createData ) ; }