Lines Matching defs:C

85   FullCommentParts(const FullComment *C,
98 FullCommentParts::FullCommentParts(const FullComment *C,
101 for (Comment::child_iterator I = C->child_begin(), E = C->child_end();
198 void printHTMLStartTagComment(const HTMLStartTagComment *C,
200 Result << "<" << C->getTagName();
202 if (C->getNumAttrs() != 0) {
203 for (unsigned i = 0, e = C->getNumAttrs(); i != e; i++) {
205 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i);
212 if (!C->isSelfClosing())
229 void visitTextComment(const TextComment *C);
230 void visitInlineCommandComment(const InlineCommandComment *C);
231 void visitHTMLStartTagComment(const HTMLStartTagComment *C);
232 void visitHTMLEndTagComment(const HTMLEndTagComment *C);
235 void visitParagraphComment(const ParagraphComment *C);
236 void visitBlockCommandComment(const BlockCommandComment *C);
237 void visitParamCommandComment(const ParamCommandComment *C);
238 void visitTParamCommandComment(const TParamCommandComment *C);
239 void visitVerbatimBlockComment(const VerbatimBlockComment *C);
240 void visitVerbatimBlockLineComment(const VerbatimBlockLineComment *C);
241 void visitVerbatimLineComment(const VerbatimLineComment *C);
243 void visitFullComment(const FullComment *C);
249 void visitNonStandaloneParagraphComment(const ParagraphComment *C);
262 void CommentASTToHTMLConverter::visitTextComment(const TextComment *C) {
263 appendToResultWithHTMLEscaping(C->getText());
267 const InlineCommandComment *C) {
269 if (C->getNumArgs() == 0)
273 StringRef Arg0 = C->getArgText(0);
277 switch (C->getRenderKind()) {
279 for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i) {
280 appendToResultWithHTMLEscaping(C->getArgText(i));
286 assert(C->getNumArgs() == 1);
292 assert(C->getNumArgs() == 1);
298 assert(C->getNumArgs() == 1);
304 assert(C->getNumArgs() == 1);
311 const HTMLStartTagComment *C) {
312 printHTMLStartTagComment(C, Result);
316 const HTMLEndTagComment *C) {
317 Result << "</" << C->getTagName() << ">";
321 const ParagraphComment *C) {
322 if (C->isWhitespace())
326 for (Comment::child_iterator I = C->child_begin(), E = C->child_end();
334 const BlockCommandComment *C) {
335 const CommandInfo *Info = Traits.getCommandInfo(C->getCommandID());
338 visitNonStandaloneParagraphComment(C->getParagraph());
345 visitNonStandaloneParagraphComment(C->getParagraph());
350 visit(C->getParagraph());
354 const ParamCommandComment *C) {
355 if (C->isParamIndexValid()) {
356 if (C->isVarArgParam()) {
358 appendToResultWithHTMLEscaping(C->getParamNameAsWritten());
361 << C->getParamIndex()
363 appendToResultWithHTMLEscaping(C->getParamName(FC));
367 appendToResultWithHTMLEscaping(C->getParamNameAsWritten());
371 if (C->isParamIndexValid()) {
372 if (C->isVarArgParam())
376 << C->getParamIndex()
381 visitNonStandaloneParagraphComment(C->getParagraph());
386 const TParamCommandComment *C) {
387 if (C->isPositionValid()) {
388 if (C->getDepth() == 1)
390 << C->getIndex(0)
394 appendToResultWithHTMLEscaping(C->getParamName(FC));
397 appendToResultWithHTMLEscaping(C->getParamNameAsWritten());
402 if (C->isPositionValid()) {
403 if (C->getDepth() == 1)
405 << C->getIndex(0)
412 visitNonStandaloneParagraphComment(C->getParagraph());
417 const VerbatimBlockComment *C) {
418 unsigned NumLines = C->getNumLines();
424 appendToResultWithHTMLEscaping(C->getText(i));
432 const VerbatimBlockLineComment *C) {
437 const VerbatimLineComment *C) {
439 appendToResultWithHTMLEscaping(C->getText());
443 void CommentASTToHTMLConverter::visitFullComment(const FullComment *C) {
444 FullCommentParts Parts(C, Traits);
459 const Comment *C = Parts.MiscBlocks[i];
460 if (FirstParagraphIsBrief && C == Parts.FirstParagraph)
462 visit(C);
489 const ParagraphComment *C) {
490 if (!C)
493 for (Comment::child_iterator I = C->child_begin(), E = C->child_end();
501 const char C = *I;
502 switch (C) {
522 Result << C;
540 void visitTextComment(const TextComment *C);
541 void visitInlineCommandComment(const InlineCommandComment *C);
542 void visitHTMLStartTagComment(const HTMLStartTagComment *C);
543 void visitHTMLEndTagComment(const HTMLEndTagComment *C);
546 void visitParagraphComment(const ParagraphComment *C);
548 void appendParagraphCommentWithKind(const ParagraphComment *C,
552 void visitBlockCommandComment(const BlockCommandComment *C);
553 void visitParamCommandComment(const ParamCommandComment *C);
554 void visitTParamCommandComment(const TParamCommandComment *C);
555 void visitVerbatimBlockComment(const VerbatimBlockComment *C);
556 void visitVerbatimBlockLineComment(const VerbatimBlockLineComment *C);
557 void visitVerbatimLineComment(const VerbatimLineComment *C);
559 void visitFullComment(const FullComment *C);
612 void CommentASTToXMLConverter::visitTextComment(const TextComment *C) {
613 appendToResultWithXMLEscaping(C->getText());
617 const InlineCommandComment *C) {
619 if (C->getNumArgs() == 0)
623 StringRef Arg0 = C->getArgText(0);
627 switch (C->getRenderKind()) {
629 for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i) {
630 appendToResultWithXMLEscaping(C->getArgText(i));
635 assert(C->getNumArgs() == 1);
641 assert(C->getNumArgs() == 1);
647 assert(C->getNumArgs() == 1);
653 assert(C->getNumArgs() == 1);
660 const HTMLStartTagComment *C) {
662 if (C->isMalformed())
669 printHTMLStartTagComment(C, TagOS);
677 CommentASTToXMLConverter::visitHTMLEndTagComment(const HTMLEndTagComment *C) {
679 if (C->isMalformed())
681 Result << ">&lt;/" << C->getTagName() << "&gt;</rawHTML>";
685 const ParagraphComment *C) {
686 appendParagraphCommentWithKind(C, StringRef(), StringRef());
690 const ParagraphComment *C, StringRef ParagraphKind,
692 if (C->isWhitespace() && PrependBodyText.empty())
703 for (Comment::child_iterator I = C->child_begin(), E = C->child_end(); I != E;
711 const BlockCommandComment *C) {
715 const unsigned CommandID = C->getCommandID();
717 if (Info->IsThrowsCommand && C->getNumArgs() > 0) {
718 ExceptionType = C->getArgText(0);
740 ParagraphKind = C->getCommandName(Traits);
746 appendParagraphCommentWithKind(C->getParagraph(), ParagraphKind,
751 const ParamCommandComment *C) {
753 appendToResultWithXMLEscaping(C->isParamIndexValid()
754 ? C->getParamName(FC)
755 : C->getParamNameAsWritten());
758 if (C->isParamIndexValid()) {
759 if (C->isVarArgParam())
762 Result << "<Index>" << C->getParamIndex() << "</Index>";
765 Result << "<Direction isExplicit=\"" << C->isDirectionExplicit() << "\">";
766 switch (C->getDirection()) {
778 visit(C->getParagraph());
783 const TParamCommandComment *C) {
785 appendToResultWithXMLEscaping(C->isPositionValid() ? C->getParamName(FC)
786 : C->getParamNameAsWritten());
789 if (C->isPositionValid() && C->getDepth() == 1) {
790 Result << "<Index>" << C->getIndex(0) << "</Index>";
794 visit(C->getParagraph());
799 const VerbatimBlockComment *C) {
800 unsigned NumLines = C->getNumLines();
804 switch (C->getCommandID()) {
813 appendToResultWithXMLEscaping(C->getText(i));
821 const VerbatimBlockLineComment *C) {
826 const VerbatimLineComment *C) {
828 appendToResultWithXMLEscaping(C->getText());
832 void CommentASTToXMLConverter::visitFullComment(const FullComment *C) {
833 FullCommentParts Parts(C, Traits);
835 const DeclInfo *DI = C->getDeclInfo();
857 "are not allowed in C++");
1080 const Comment *C = Parts.MiscBlocks[i];
1081 if (FirstParagraphIsBrief && C == Parts.FirstParagraph)
1087 visit(C);
1098 const char C = *I;
1099 switch (C) {
1116 Result << C;