13#ifndef MLIR_TOOLS_MLIR_LSP_SERVER_MLIRLSPSERVERMAIN_H
14#define MLIR_TOOLS_MLIR_LSP_SERVER_MLIRLSPSERVERMAIN_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
The OpAsmOpInterface, see OpAsmInterface.td for more details.
llvm::function_ref< DialectRegistry &(const llvm::lsp::URIForFile &uri)> DialectRegistryFn
Include the generated interface declarations.
llvm::LogicalResult MlirLspServerMain(int argc, char **argv, DialectRegistry ®istry)
Implementation for tools like mlir-lsp-server.