xref: /llvm-project/mlir/utils/vscode/src/MLIR/mlir.ts (revision f7b8a70e7a1738e0fc6574e3cf8faa4fa1f34eba)
1import * as vscode from 'vscode';
2
3import {MLIRContext} from '../mlirContext';
4import {registerMLIRBytecodeExtensions} from './bytecodeProvider';
5
6/**
7 *  Register the necessary extensions for supporting MLIR.
8 */
9export function registerMLIRExtensions(context: vscode.ExtensionContext,
10                                       mlirContext: MLIRContext) {
11  registerMLIRBytecodeExtensions(context, mlirContext);
12}
13