CIRCT
22.0.0git
Loading...
Searching...
No Matches
lib
Tools
circt-verilog-lsp-server
CirctVerilogLspServerMain.cpp
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
#include "
circt/Tools/circt-verilog-lsp-server/CirctVerilogLspServerMain.h
"
10
#include "
LSPServer.h
"
11
#include "
VerilogServerImpl/VerilogServer.h
"
12
#include "llvm/Support/LSP/Transport.h"
13
14
llvm::LogicalResult
circt::lsp::CirctVerilogLspServerMain
(
15
const
circt::lsp::VerilogServerOptions
&options,
16
llvm::lsp::JSONTransport &transport) {
17
circt::lsp::VerilogServer
server
(options);
18
return
circt::lsp::runVerilogLSPServer
(
server
, transport);
19
}
CirctVerilogLspServerMain.h
server
static std::unique_ptr< RpcServer > server
Definition
DpiEntryPoints.cpp:32
LSPServer.h
VerilogServer.h
circt::lsp::VerilogServer
This class implements all of the Verilog related functionality necessary for a language server.
Definition
VerilogServer.h:45
circt::lsp::runVerilogLSPServer
llvm::LogicalResult runVerilogLSPServer(VerilogServer &server, llvm::lsp::JSONTransport &transport)
Run the main loop of the LSP server using the given Verilog server and transport.
circt::lsp::CirctVerilogLspServerMain
llvm::LogicalResult CirctVerilogLspServerMain(const VerilogServerOptions &options, llvm::lsp::JSONTransport &transport)
Implementation for tools like circt-verilog-lsp-server.
Definition
CirctVerilogLspServerMain.cpp:14
circt::lsp::VerilogServerOptions
Definition
CirctVerilogLspServerMain.h:36
Generated on Thu Oct 2 2025 00:08:52 for CIRCT by
1.9.8