20 #ifndef LIB_MLIR_TOOLS_MLIRLSPSERVER_PROTOCOL_H_
21 #define LIB_MLIR_TOOLS_MLIRLSPSERVER_PROTOCOL_H_
23 #include "llvm/Support/LSP/Protocol.h"
40 llvm::json::Path path);
llvm::json::Value toJSON(const MLIRConvertBytecodeResult &value)
Add support for JSON serialization.
bool fromJSON(const llvm::json::Value &value, MLIRConvertBytecodeParams &result, llvm::json::Path path)
Add support for JSON serialization.
The OpAsmOpInterface, see OpAsmInterface.td for more details.
This class represents the parameters used when converting between MLIR's bytecode and textual format.
URIForFile uri
The input file containing the bytecode or textual format.
This class represents the result of converting between MLIR's bytecode and textual format.
std::string output
The resultant output of the conversion.