14#ifndef LIB_CIRCT_TOOLS_CIRCT_VERILOG_LSP_SERVER_VERILOGSERVER_H_
15#define LIB_CIRCT_TOOLS_CIRCT_VERILOG_LSP_SERVER_VERILOGSERVER_H_
17#include "mlir/Support/LLVM.h"
18#include "llvm/ADT/StringRef.h"
33struct VerilogServerOptions;
35 mlir::lsp::TextDocumentContentChangeEvent;
50 int64_t version, std::vector<Diagnostic> &diagnostics);
55 llvm::ArrayRef<TextDocumentContentChangeEvent> changes,
56 int64_t version, std::vector<Diagnostic> &diagnostics);
65 std::unique_ptr<Impl>
impl;
This class implements all of the Verilog related functionality necessary for a language server.
std::optional< int64_t > removeDocument(const URIForFile &uri)
Remove the document with the given uri.
void updateDocument(const URIForFile &uri, llvm::ArrayRef< TextDocumentContentChangeEvent > changes, int64_t version, std::vector< Diagnostic > &diagnostics)
Update the document, with the provided version, at the given URI.
void addDocument(const URIForFile &uri, llvm::StringRef contents, int64_t version, std::vector< Diagnostic > &diagnostics)
Add the document, with the provided version, at the given URI.
std::unique_ptr< Impl > impl
mlir::lsp::URIForFile URIForFile
mlir::lsp::TextDocumentContentChangeEvent TextDocumentContentChangeEvent
mlir::lsp::Diagnostic Diagnostic
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.