//===- Parser.h - MLIR Base Parser Class ------------------------*- 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_LIB_ASMPARSER_PARSER_H #define MLIR_LIB_ASMPARSER_PARSER_H #include "ParserState.h" #include "mlir/IR/Builders.h" #include "mlir/IR/OpImplementation.h" #include <optional> namespace mlir { namespace detail { //===----------------------------------------------------------------------===// // Parser //===----------------------------------------------------------------------===// /// This class implement support for parsing global entities like attributes and /// types. It is intended to be subclassed by specialized subparsers that /// include state. class Parser { … }; } // namespace detail } // namespace mlir #endif // MLIR_LIB_ASMPARSER_PARSER_H