xref: /llvm-project/mlir/utils/vscode/src/PDLL/pdll.ts (revision f7b8a70e7a1738e0fc6574e3cf8faa4fa1f34eba)
1import * as vscode from 'vscode';
2
3import {MLIRContext} from '../mlirContext';
4import {ViewPDLLCommand} from './commands/viewOutput';
5
6/**
7 *  Register the necessary extensions for supporting PDLL.
8 */
9export function registerPDLLExtensions(context: vscode.ExtensionContext,
10                                       mlirContext: MLIRContext) {
11  context.subscriptions.push(new ViewPDLLCommand(mlirContext));
12}
13