CIRCT
21.0.0git
Loading...
Searching...
No Matches
lib
Tools
circt-verilog-lsp-server
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
14
namespace
llvm
{
15
struct
LogicalResult;
16
}
// namespace llvm
17
namespace
mlir
{
18
namespace
lsp {
19
class
JSONTransport;
20
}
// namespace lsp
21
}
// namespace mlir
22
23
namespace
circt
{
24
namespace
lsp {
25
class
VerilogServer;
26
27
/// Run the main loop of the LSP server using the given Verilog server and
28
/// transport.
29
llvm::LogicalResult
runVerilogLSPServer
(
VerilogServer
&
server
,
30
mlir::lsp::JSONTransport &transport);
31
32
}
// namespace lsp
33
}
// namespace circt
34
35
#endif
// LIB_CIRCT_TOOLS_CIRCT_VERILOG_LSP_LSPSERVER_H
server
static std::unique_ptr< RpcServer > server
Definition
DpiEntryPoints.cpp:32
circt::lsp::VerilogServer
This class implements all of the Verilog related functionality necessary for a language server.
Definition
VerilogServer.h:42
circt::lsp::runVerilogLSPServer
llvm::LogicalResult runVerilogLSPServer(VerilogServer &server, mlir::lsp::JSONTransport &transport)
Run the main loop of the LSP server using the given Verilog server and transport.
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
llvm
Definition
ImportVerilog.h:21
mlir
Definition
DebugAnalysis.h:16
Generated on Mon Mar 10 2025 00:07:44 for CIRCT by
1.9.8