//===--- CommentLexer.h - Lexer for structured comments ---------*- 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 // //===----------------------------------------------------------------------===// // // This file defines lexer for structured comments and supporting token class. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_AST_COMMENTLEXER_H #define LLVM_CLANG_AST_COMMENTLEXER_H #include "clang/Basic/Diagnostic.h" #include "clang/Basic/SourceManager.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/raw_ostream.h" namespace clang { namespace comments { class Lexer; class TextTokenRetokenizer; struct CommandInfo; class CommandTraits; namespace tok { enum TokenKind { … }; } // end namespace tok /// Comment token. class Token { … }; /// Comment lexer. class Lexer { … }; } // end namespace comments } // end namespace clang #endif