CIRCT 21.0.0git
Loading...
Searching...
No Matches
LSPServer.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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_CIRCT_TOOLS_CIRCT_VERILOG_LSP_LSPSERVER_H
10#define LIB_CIRCT_TOOLS_CIRCT_VERILOG_LSP_LSPSERVER_H
11
12#include <memory>
13
14namespace llvm {
15struct LogicalResult;
16} // namespace llvm
17namespace mlir {
18namespace lsp {
19class JSONTransport;
20} // namespace lsp
21} // namespace mlir
22
23namespace circt {
24namespace lsp {
25class VerilogServer;
26
27/// Run the main loop of the LSP server using the given Verilog server and
28/// transport.
30 mlir::lsp::JSONTransport &transport);
31
32} // namespace lsp
33} // namespace circt
34
35#endif // LIB_CIRCT_TOOLS_CIRCT_VERILOG_LSP_LSPSERVER_H
static std::unique_ptr< RpcServer > server
This class implements all of the Verilog related functionality necessary for a language server.
llvm::LogicalResult runVerilogLSPServer(VerilogServer &server, mlir::lsp::JSONTransport &transport)
Run the main loop of the LSP server using the given Verilog server and transport.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.