clang-tools 8.0.0

Public Member Functions | List of all members
clang::doc::serialize::ClangDocCommentVisitor Class Reference
Inheritance diagram for clang::doc::serialize::ClangDocCommentVisitor:
[legend]
Collaboration diagram for clang::doc::serialize::ClangDocCommentVisitor:
[legend]

## Public Member Functions
| ClangDocCommentVisitor (CommentInfo &CI)
void | parseComment (const comments::Comment *C)
void | visitTextComment (const TextComment *C)
void | visitInlineCommandComment (const InlineCommandComment *C)
void | visitHTMLStartTagComment (const HTMLStartTagComment *C)
void | visitHTMLEndTagComment (const HTMLEndTagComment *C)
void | visitBlockCommandComment (const BlockCommandComment *C)
void | visitParamCommandComment (const ParamCommandComment *C)
void | visitTParamCommandComment (const TParamCommandComment *C)
void | visitVerbatimBlockComment (const VerbatimBlockComment *C)
void | visitVerbatimBlockLineComment (const VerbatimBlockLineComment *C)
void | visitVerbatimLineComment (const VerbatimLineComment *C)

## Detailed Description

Definition at line 28 of file Serialize.cpp.

## Constructor & Destructor Documentation

## ◆ ClangDocCommentVisitor()

clang::doc::serialize::ClangDocCommentVisitor::ClangDocCommentVisitor | ( | CommentInfo & | CI | ) |
| inline

Definition at line 31 of file Serialize.cpp.

References parseComment(), visitBlockCommandComment(), visitHTMLEndTagComment(), visitHTMLStartTagComment(), visitInlineCommandComment(), visitParamCommandComment(), visitTextComment(), visitTParamCommandComment(), visitVerbatimBlockComment(), visitVerbatimBlockLineComment(), and visitVerbatimLineComment().

## Member Function Documentation

## ◆ parseComment()

void clang::doc::serialize::ClangDocCommentVisitor::parseComment | ( | const comments::Comment * | C | ) |

Definition at line 53 of file Serialize.cpp.

References clang::doc::CommentInfo::Kind.

Referenced by ClangDocCommentVisitor(), and clang::doc::serialize::parseFullComment().

## ◆ visitBlockCommandComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitBlockCommandComment | ( | const BlockCommandComment * | C | ) |

Definition at line 93 of file Serialize.cpp.

References clang::doc::CommentInfo::Args, and clang::doc::CommentInfo::Name.

Referenced by ClangDocCommentVisitor().

## ◆ visitHTMLEndTagComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitHTMLEndTagComment | ( | const HTMLEndTagComment * | C | ) |

Definition at line 87 of file Serialize.cpp.

References clang::doc::CommentInfo::Name, and clang::doc::CommentInfo::SelfClosing.

Referenced by ClangDocCommentVisitor().

## ◆ visitHTMLStartTagComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitHTMLStartTagComment | ( | const HTMLStartTagComment * | C | ) |

Definition at line 76 of file Serialize.cpp.

References clang::doc::CommentInfo::AttrKeys, clang::doc::CommentInfo::AttrValues, clang::doc::CommentInfo::Name, and clang::doc::CommentInfo::SelfClosing.

Referenced by ClangDocCommentVisitor().

## ◆ visitInlineCommandComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitInlineCommandComment | ( | const InlineCommandComment * | C | ) |

Definition at line 69 of file Serialize.cpp.

References clang::doc::CommentInfo::Args, and clang::doc::CommentInfo::Name.

Referenced by ClangDocCommentVisitor().

## ◆ visitParamCommandComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitParamCommandComment | ( | const ParamCommandComment * | C | ) |

Definition at line 100 of file Serialize.cpp.

References clang::doc::CommentInfo::Direction, clang::doc::CommentInfo::Explicit, and clang::doc::CommentInfo::ParamName.

Referenced by ClangDocCommentVisitor().

## ◆ visitTextComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitTextComment | ( | const TextComment * | C | ) |

Definition at line 64 of file Serialize.cpp.

References clang::doc::CommentInfo::Text.

Referenced by ClangDocCommentVisitor().

## ◆ visitTParamCommandComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitTParamCommandComment | ( | const TParamCommandComment * | C | ) |

Definition at line 109 of file Serialize.cpp.

References clang::doc::CommentInfo::ParamName.

Referenced by ClangDocCommentVisitor().

## ◆ visitVerbatimBlockComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitVerbatimBlockComment | ( | const VerbatimBlockComment * | C | ) |

Definition at line 115 of file Serialize.cpp.

References clang::doc::CommentInfo::CloseName, and clang::doc::CommentInfo::Name.

Referenced by ClangDocCommentVisitor().

## ◆ visitVerbatimBlockLineComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitVerbatimBlockLineComment | ( | const VerbatimBlockLineComment * | C | ) |

Definition at line 121 of file Serialize.cpp.

References clang::doc::CommentInfo::Text.

Referenced by ClangDocCommentVisitor().

## ◆ visitVerbatimLineComment()

void clang::doc::serialize::ClangDocCommentVisitor::visitVerbatimLineComment | ( | const VerbatimLineComment * | C | ) |

Definition at line 127 of file Serialize.cpp.

References clang::doc::CommentInfo::Text.

Referenced by ClangDocCommentVisitor().

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

- Serialize.cpp