20 #ifndef LIB_MLIR_TOOLS_MLIRPDLLLSPSERVER_PROTOCOL_H_
21 #define LIB_MLIR_TOOLS_MLIRPDLLLSPSERVER_PROTOCOL_H_
49 llvm::json::Path path);
51 llvm::json::Path path);
URI in "file" scheme for a file.
llvm::json::Value toJSON(const URIForFile &value)
Add support for JSON serialization.
PDLLViewOutputKind
The type of output to view from PDLL.
bool fromJSON(const llvm::json::Value &value, URIForFile &result, llvm::json::Path path)
Include the generated interface declarations.
Represents the parameters used when viewing the output of a PDLL file.
URIForFile uri
The URI of the document to view the output of.
PDLLViewOutputKind kind
The kind of output to generate.
Represents the result of viewing the output of a PDLL file.
std::string output
The string representation of the output.