CIRCT 22.0.0git
Loading...
Searching...
No Matches
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
10#include "LSPServer.h"
12#include "llvm/Support/LSP/Transport.h"
13
15 const circt::lsp::LSPServerOptions &lspOptions,
17 llvm::lsp::JSONTransport &transport) {
19 return circt::lsp::runVerilogLSPServer(lspOptions, server, transport);
20}
static std::unique_ptr< RpcServer > server
This class implements all of the Verilog related functionality necessary for a language server.
llvm::LogicalResult runVerilogLSPServer(const LSPServerOptions &lspOptions, VerilogServer &server, llvm::lsp::JSONTransport &transport)
Run the main loop of the LSP server using the given Verilog server and transport.
llvm::LogicalResult CirctVerilogLspServerMain(const LSPServerOptions &lspOptions, const VerilogServerOptions &options, llvm::lsp::JSONTransport &transport)
Implementation for tools like circt-verilog-lsp-server.