#include "clang/AST/CommentParser.h"
#include "clang/AST/CommentCommandTraits.h"
#include "clang/AST/CommentDiagnostic.h"
#include "clang/AST/CommentSema.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/Support/ErrorHandling.h"
namespace clang {
static inline bool isWhitespace(llvm::StringRef S) { … }
namespace comments {
class TextTokenRetokenizer { … };
Parser::Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator,
const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
const CommandTraits &Traits): … { … }
void Parser::parseParamCommandArgs(ParamCommandComment *PC,
TextTokenRetokenizer &Retokenizer) { … }
void Parser::parseTParamCommandArgs(TParamCommandComment *TPC,
TextTokenRetokenizer &Retokenizer) { … }
ArrayRef<Comment::Argument>
Parser::parseCommandArgs(TextTokenRetokenizer &Retokenizer, unsigned NumArgs) { … }
ArrayRef<Comment::Argument>
Parser::parseThrowCommandArgs(TextTokenRetokenizer &Retokenizer,
unsigned NumArgs) { … }
ArrayRef<Comment::Argument>
Parser::parseParCommandArgs(TextTokenRetokenizer &Retokenizer,
unsigned NumArgs) { … }
BlockCommandComment *Parser::parseBlockCommand() { … }
InlineCommandComment *Parser::parseInlineCommand() { … }
HTMLStartTagComment *Parser::parseHTMLStartTag() { … }
HTMLEndTagComment *Parser::parseHTMLEndTag() { … }
BlockContentComment *Parser::parseParagraphOrBlockCommand() { … }
VerbatimBlockComment *Parser::parseVerbatimBlock() { … }
VerbatimLineComment *Parser::parseVerbatimLine() { … }
BlockContentComment *Parser::parseBlockContent() { … }
FullComment *Parser::parseFullComment() { … }
}
}