//===- TableGenServer.h - TableGen Language Server --------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LIB_MLIR_TOOLS_TBLGENLSPSERVER_TABLEGENSERVER_H_ #define LIB_MLIR_TOOLS_TBLGENLSPSERVER_TABLEGENSERVER_H_ #include "mlir/Support/LLVM.h" #include "llvm/ADT/StringRef.h" #include <memory> #include <optional> #include <string> #include <vector> namespace mlir { namespace lsp { struct Diagnostic; struct DocumentLink; struct Hover; struct Location; struct Position; struct TextDocumentContentChangeEvent; class URIForFile; /// This class implements all of the TableGen related functionality necessary /// for a language server. This class allows for keeping the TableGen specific /// logic separate from the logic that involves LSP server/client communication. class TableGenServer { … }; } // namespace lsp } // namespace mlir #endif // LIB_MLIR_TOOLS_TBLGENLSPSERVER_TABLEGENSERVER_H_