//===- Context.h - PDLL AST Context -----------------------------*- 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 MLIR_TOOLS_PDLL_AST_CONTEXT_H_ #define MLIR_TOOLS_PDLL_AST_CONTEXT_H_ #include "mlir/Support/StorageUniquer.h" #include "mlir/Tools/PDLL/AST/Diagnostic.h" namespace mlir { namespace pdll { namespace ods { class Context; } // namespace ods namespace ast { /// This class represents the main context of the PDLL AST. It handles /// allocating all of the AST constructs, and manages all state necessary for /// the AST. class Context { … }; } // namespace ast } // namespace pdll } // namespace mlir #endif // MLIR_TOOLS_PDLL_AST_CONTEXT_H_