#ifndef MLIR_TOOLS_MLIRQUERY_QUERY_H
#define MLIR_TOOLS_MLIRQUERY_QUERY_H
#include "Matcher/VariantValue.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/LineEditor/LineEditor.h"
#include <string>
namespace mlir::query {
enum class QueryKind { … };
class QuerySession;
struct Query : llvm::RefCountedBase<Query> { … };
QueryRef;
QueryRef parse(llvm::StringRef line, const QuerySession &qs);
std::vector<llvm::LineEditor::Completion>
complete(llvm::StringRef line, size_t pos, const QuerySession &qs);
struct InvalidQuery : Query { … };
struct NoOpQuery : Query { … };
struct HelpQuery : Query { … };
struct QuitQuery : Query { … };
struct MatchQuery : Query { … };
}
#endif