//===- ParserState.h - MLIR ParserState -------------------------*- 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_PARSERSTATE_H #define MLIR_LIB_ASMPARSER_PARSERSTATE_H #include "Lexer.h" #include "mlir/IR/Attributes.h" #include "mlir/IR/OpImplementation.h" #include "llvm/ADT/SetVector.h" #include "llvm/ADT/StringMap.h" namespace mlir { class OpAsmDialectInterface; namespace detail { //===----------------------------------------------------------------------===// // SymbolState //===----------------------------------------------------------------------===// /// This class contains record of any parsed top-level symbols. struct SymbolState { … }; //===----------------------------------------------------------------------===// // ParserState //===----------------------------------------------------------------------===// /// This class refers to all of the state maintained globally by the parser, /// such as the current lexer position etc. struct ParserState { … }; } // namespace detail } // namespace mlir #endif // MLIR_LIB_ASMPARSER_PARSERSTATE_H