MLIR  19.0.0git
LSPServer.h
Go to the documentation of this file.
1 //===- LSPServer.h - PDLL LSP Server ----------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LIB_MLIR_TOOLS_MLIRPDLLLSPSERVER_LSPSERVER_H
10 #define LIB_MLIR_TOOLS_MLIRPDLLLSPSERVER_LSPSERVER_H
11 
12 #include <memory>
13 
14 namespace mlir {
15 struct LogicalResult;
16 
17 namespace lsp {
18 class JSONTransport;
19 class PDLLServer;
20 
21 /// Run the main loop of the LSP server using the given PDLL server and
22 /// transport.
23 LogicalResult runPdllLSPServer(PDLLServer &server, JSONTransport &transport);
24 
25 } // namespace lsp
26 } // namespace mlir
27 
28 #endif // LIB_MLIR_TOOLS_MLIRPDLLLSPSERVER_LSPSERVER_H
LogicalResult runPdllLSPServer(PDLLServer &server, JSONTransport &transport)
Run the main loop of the LSP server using the given PDLL server and transport.
Definition: LSPServer.cpp:283
Include the generated interface declarations.