clang API Documentation

Classes | Enumerations | Functions
Documentation.h File Reference
#include "clang-c/Index.h"
Include dependency graph for Documentation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CXComment
 A parsed comment. More...

Enumerations

enum  CXCommentKind {
  CXComment_Null = 0, CXComment_Text = 1, CXComment_InlineCommand = 2, CXComment_HTMLStartTag = 3,
  CXComment_HTMLEndTag = 4, CXComment_Paragraph = 5, CXComment_BlockCommand = 6, CXComment_ParamCommand = 7,
  CXComment_TParamCommand = 8, CXComment_VerbatimBlockCommand = 9, CXComment_VerbatimBlockLine = 10, CXComment_VerbatimLine = 11,
  CXComment_FullComment = 12
}
 Describes the type of the comment AST node (CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node). More...
enum  CXCommentInlineCommandRenderKind { CXCommentInlineCommandRenderKind_Normal, CXCommentInlineCommandRenderKind_Bold, CXCommentInlineCommandRenderKind_Monospaced, CXCommentInlineCommandRenderKind_Emphasized }
 The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen. More...
enum  CXCommentParamPassDirection { CXCommentParamPassDirection_In, CXCommentParamPassDirection_Out, CXCommentParamPassDirection_InOut }
 Describes parameter passing direction for \param or \arg command. More...

Functions

CINDEX_LINKAGE CXComment clang_Cursor_getParsedComment (CXCursor C)
 Given a cursor that represents a documentable entity (e.g., declaration), return the associated parsed comment as a CXComment_FullComment AST node.
CINDEX_LINKAGE enum CXCommentKind clang_Comment_getKind (CXComment Comment)
CINDEX_LINKAGE unsigned clang_Comment_getNumChildren (CXComment Comment)
CINDEX_LINKAGE CXComment clang_Comment_getChild (CXComment Comment, unsigned ChildIdx)
CINDEX_LINKAGE unsigned clang_Comment_isWhitespace (CXComment Comment)
 A CXComment_Paragraph node is considered whitespace if it contains only CXComment_Text nodes that are empty or whitespace.
CINDEX_LINKAGE unsigned clang_InlineContentComment_hasTrailingNewline (CXComment Comment)
CINDEX_LINKAGE CXString clang_TextComment_getText (CXComment Comment)
CINDEX_LINKAGE CXString clang_InlineCommandComment_getCommandName (CXComment Comment)
CINDEX_LINKAGE enum
CXCommentInlineCommandRenderKind 
clang_InlineCommandComment_getRenderKind (CXComment Comment)
CINDEX_LINKAGE unsigned clang_InlineCommandComment_getNumArgs (CXComment Comment)
CINDEX_LINKAGE CXString clang_InlineCommandComment_getArgText (CXComment Comment, unsigned ArgIdx)
CINDEX_LINKAGE CXString clang_HTMLTagComment_getTagName (CXComment Comment)
CINDEX_LINKAGE unsigned clang_HTMLStartTagComment_isSelfClosing (CXComment Comment)
CINDEX_LINKAGE unsigned clang_HTMLStartTag_getNumAttrs (CXComment Comment)
CINDEX_LINKAGE CXString clang_HTMLStartTag_getAttrName (CXComment Comment, unsigned AttrIdx)
CINDEX_LINKAGE CXString clang_HTMLStartTag_getAttrValue (CXComment Comment, unsigned AttrIdx)
CINDEX_LINKAGE CXString clang_BlockCommandComment_getCommandName (CXComment Comment)
CINDEX_LINKAGE unsigned clang_BlockCommandComment_getNumArgs (CXComment Comment)
CINDEX_LINKAGE CXString clang_BlockCommandComment_getArgText (CXComment Comment, unsigned ArgIdx)
CINDEX_LINKAGE CXComment clang_BlockCommandComment_getParagraph (CXComment Comment)
CINDEX_LINKAGE CXString clang_ParamCommandComment_getParamName (CXComment Comment)
CINDEX_LINKAGE unsigned clang_ParamCommandComment_isParamIndexValid (CXComment Comment)
CINDEX_LINKAGE unsigned clang_ParamCommandComment_getParamIndex (CXComment Comment)
CINDEX_LINKAGE unsigned clang_ParamCommandComment_isDirectionExplicit (CXComment Comment)
CINDEX_LINKAGE enum
CXCommentParamPassDirection 
clang_ParamCommandComment_getDirection (CXComment Comment)
CINDEX_LINKAGE CXString clang_TParamCommandComment_getParamName (CXComment Comment)
CINDEX_LINKAGE unsigned clang_TParamCommandComment_isParamPositionValid (CXComment Comment)
CINDEX_LINKAGE unsigned clang_TParamCommandComment_getDepth (CXComment Comment)
CINDEX_LINKAGE unsigned clang_TParamCommandComment_getIndex (CXComment Comment, unsigned Depth)
CINDEX_LINKAGE CXString clang_VerbatimBlockLineComment_getText (CXComment Comment)
CINDEX_LINKAGE CXString clang_VerbatimLineComment_getText (CXComment Comment)
CINDEX_LINKAGE CXString clang_HTMLTagComment_getAsString (CXComment Comment)
 Convert an HTML tag AST node to string.
CINDEX_LINKAGE CXString clang_FullComment_getAsHTML (CXComment Comment)
 Convert a given full parsed comment to an HTML fragment.
CINDEX_LINKAGE CXString clang_FullComment_getAsXML (CXComment Comment)
 Convert a given full parsed comment to an XML document.