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
16 llvm::lsp::JSONTransport &transport) {
18 return circt::lsp::runVerilogLSPServer(server, transport);
19}
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, llvm::lsp::JSONTransport &transport)
Run the main loop of the LSP server using the given Verilog server and transport.
llvm::LogicalResult CirctVerilogLspServerMain(const VerilogServerOptions &options, llvm::lsp::JSONTransport &transport)
Implementation for tools like circt-verilog-lsp-server.