//===- Lexer.h - MLIR PDLL Frontend Lexer -----------------------*- 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 LIB_TOOLS_PDLL_PARSER_LEXER_H_ #define LIB_TOOLS_PDLL_PARSER_LEXER_H_ #include "mlir/Support/LLVM.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/SMLoc.h" namespace llvm { class SourceMgr; } // namespace llvm namespace mlir { namespace pdll { class CodeCompleteContext; namespace ast { class DiagnosticEngine; } // namespace ast //===----------------------------------------------------------------------===// // Token //===----------------------------------------------------------------------===// class Token { … }; //===----------------------------------------------------------------------===// // Lexer //===----------------------------------------------------------------------===// class Lexer { … }; } // namespace pdll } // namespace mlir #endif // LIB_TOOLS_PDLL_PARSER_LEXER_H_