clang API Documentation

Public Member Functions | Friends
clang::comments::Parser Class Reference

Doxygen comment parser. More...

#include <CommentParser.h>

List of all members.

Public Member Functions

 Parser (Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, DiagnosticsEngine &Diags, const CommandTraits &Traits)
void parseParamCommandArgs (ParamCommandComment *PC, TextTokenRetokenizer &Retokenizer)
 Parse arguments for \param command.
void parseTParamCommandArgs (TParamCommandComment *TPC, TextTokenRetokenizer &Retokenizer)
 Parse arguments for \tparam command.
void parseBlockCommandArgs (BlockCommandComment *BC, TextTokenRetokenizer &Retokenizer, unsigned NumArgs)
BlockCommandCommentparseBlockCommand ()
InlineCommandCommentparseInlineCommand ()
HTMLStartTagCommentparseHTMLStartTag ()
HTMLEndTagCommentparseHTMLEndTag ()
BlockContentCommentparseParagraphOrBlockCommand ()
VerbatimBlockCommentparseVerbatimBlock ()
VerbatimLineCommentparseVerbatimLine ()
BlockContentCommentparseBlockContent ()
FullCommentparseFullComment ()

Friends

class TextTokenRetokenizer

Detailed Description

Doxygen comment parser.

Definition at line 30 of file CommentParser.h.


Constructor & Destructor Documentation

clang::comments::Parser::Parser ( Lexer L,
Sema S,
llvm::BumpPtrAllocator &  Allocator,
const SourceManager SourceMgr,
DiagnosticsEngine Diags,
const CommandTraits Traits 
)

Definition at line 257 of file CommentParser.cpp.


Member Function Documentation

Definition at line 553 of file CommentParser.cpp.

References clang::comments::Sema::actOnParagraphComment(), clang::comments::Sema::actOnText(), clang::comments::Sema::actOnUnknownCommand(), clang::comments::tok::at_command, clang::comments::tok::backslash_command, clang::comments::Sema::copyArray(), clang::comments::tok::eof, clang::comments::Token::getCommandID(), clang::comments::CommandTraits::getCommandInfo(), clang::comments::Token::getEndLocation(), clang::comments::CommandInfo::getID(), clang::comments::Token::getKind(), clang::comments::Token::getLocation(), clang::comments::Token::getText(), clang::comments::Token::getUnknownCommandName(), clang::comments::tok::html_end_tag, clang::comments::tok::html_equals, clang::comments::tok::html_greater, clang::comments::tok::html_ident, clang::comments::tok::html_quoted_string, clang::comments::tok::html_slash_greater, clang::comments::tok::html_start_tag, clang::comments::Token::is(), clang::comments::CommandInfo::IsBlockCommand, clang::comments::CommandInfo::IsInlineCommand, clang::comments::CommandInfo::IsUnknownCommand, clang::comments::CommandInfo::IsVerbatimBlockEndCommand, clang::isWhitespace(), clang::comments::CommandInfo::Name, clang::comments::tok::newline, parseBlockCommand(), parseHTMLEndTag(), parseHTMLStartTag(), parseInlineCommand(), clang::comments::tok::text, clang::comments::tok::unknown_command, clang::comments::tok::verbatim_block_begin, clang::comments::tok::verbatim_block_end, clang::comments::tok::verbatim_block_line, clang::comments::tok::verbatim_line_name, and clang::comments::tok::verbatim_line_text.

Referenced by parseBlockCommand(), and parseBlockContent().


Friends And Related Function Documentation

friend class TextTokenRetokenizer [friend]

Definition at line 34 of file CommentParser.h.


The documentation for this class was generated from the following files: