Class ClangDocumentation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromClangIndex.getLibrary(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intDescribes the type of the comment AST node (CXComment).static final intThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final intThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final intThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final intThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final intThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final intDescribes parameter passing direction for \param or \arg command.static final intDescribes parameter passing direction for \param or \arg command.static final intDescribes parameter passing direction for \param or \arg command. -
Method Summary
Modifier and TypeMethodDescriptionstatic CXStringclang_BlockCommandComment_getArgText(CXComment Comment, int ArgIdx, CXString __result) static CXStringclang_BlockCommandComment_getCommandName(CXComment Comment, CXString __result) static intstatic CXCommentclang_BlockCommandComment_getParagraph(CXComment Comment, CXComment __result) static CXCommentclang_Comment_getChild(CXComment Comment, int ChildIdx, CXComment __result) static intclang_Comment_getKind(CXComment Comment) static intclang_Comment_getNumChildren(CXComment Comment) static booleanclang_Comment_isWhitespace(CXComment Comment) AComment_Paragraphnode is considered whitespace if it contains onlyComment_Textnodes that are empty or whitespace.static intclang_createAPISet(long tu, org.lwjgl.PointerBuffer out_api) Traverses the translation unit to create aCXAPISet.static CXCommentclang_Cursor_getParsedComment(CXCursor C, CXComment __result) Given a cursor that represents a documentable entity (e.g., declaration), return the associated parsed comment as aComment_FullCommentAST node.static voidclang_disposeAPISet(long api) Dispose of an APISet.static CXStringclang_FullComment_getAsHTML(CXComment Comment, CXString __result) Convert a given full parsed comment to an HTML fragment.static CXStringclang_FullComment_getAsXML(CXComment Comment, CXString __result) Convert a given full parsed comment to an XML document.static CXStringclang_getSymbolGraphForCursor(CXCursor cursor, CXString __result) Generate a single symbol symbol graph for the declaration at the given cursor.static CXStringclang_getSymbolGraphForUSR(CharSequence usr, long api, CXString __result) Generate a single symbol symbol graph for the given USR.static CXStringclang_getSymbolGraphForUSR(ByteBuffer usr, long api, CXString __result) Generate a single symbol symbol graph for the given USR.static CXStringclang_HTMLStartTag_getAttrName(CXComment Comment, int AttrIdx, CXString __result) static CXStringclang_HTMLStartTag_getAttrValue(CXComment Comment, int AttrIdx, CXString __result) static intclang_HTMLStartTag_getNumAttrs(CXComment Comment) static booleanstatic CXStringclang_HTMLTagComment_getAsString(CXComment Comment, CXString __result) Convert an HTML tag AST node to string.static CXStringclang_HTMLTagComment_getTagName(CXComment Comment, CXString __result) static CXStringclang_InlineCommandComment_getArgText(CXComment Comment, int ArgIdx, CXString __result) static CXStringclang_InlineCommandComment_getCommandName(CXComment Comment, CXString __result) static intstatic intstatic booleanstatic intstatic intstatic CXStringclang_ParamCommandComment_getParamName(CXComment Comment, CXString __result) static booleanstatic booleanstatic CXStringclang_TextComment_getText(CXComment Comment, CXString __result) static intFor example,static intclang_TParamCommandComment_getIndex(CXComment Comment, int Depth) For example,static CXStringclang_TParamCommandComment_getParamName(CXComment Comment, CXString __result) static booleanstatic CXStringclang_VerbatimBlockLineComment_getText(CXComment Comment, CXString __result) static CXStringclang_VerbatimLineComment_getText(CXComment Comment, CXString __result) static voidnclang_BlockCommandComment_getArgText(long Comment, int ArgIdx, long __result) Unsafe version of:BlockCommandComment_getArgTextstatic voidnclang_BlockCommandComment_getArgText(long Comment, int ArgIdx, long __functionAddress, long __result) Unsafe version of:BlockCommandComment_getArgTextstatic voidnclang_BlockCommandComment_getCommandName(long Comment, long __result) Unsafe version of:BlockCommandComment_getCommandNamestatic voidnclang_BlockCommandComment_getCommandName(long Comment, long __functionAddress, long __result) Unsafe version of:BlockCommandComment_getCommandNamestatic intnclang_BlockCommandComment_getNumArgs(long Comment) Unsafe version of:BlockCommandComment_getNumArgsstatic intnclang_BlockCommandComment_getNumArgs(long Comment, long __functionAddress) Unsafe version of:BlockCommandComment_getNumArgsstatic voidnclang_BlockCommandComment_getParagraph(long Comment, long __result) Unsafe version of:BlockCommandComment_getParagraphstatic voidnclang_BlockCommandComment_getParagraph(long Comment, long __functionAddress, long __result) Unsafe version of:BlockCommandComment_getParagraphstatic voidnclang_Comment_getChild(long Comment, int ChildIdx, long __result) Unsafe version of:Comment_getChildstatic voidnclang_Comment_getChild(long Comment, int ChildIdx, long __functionAddress, long __result) Unsafe version of:Comment_getChildstatic intnclang_Comment_getKind(long Comment) Unsafe version of:Comment_getKindstatic intnclang_Comment_getKind(long Comment, long __functionAddress) Unsafe version of:Comment_getKindstatic intnclang_Comment_getNumChildren(long Comment) Unsafe version of:Comment_getNumChildrenstatic intnclang_Comment_getNumChildren(long Comment, long __functionAddress) Unsafe version of:Comment_getNumChildrenstatic intnclang_Comment_isWhitespace(long Comment) Unsafe version of:Comment_isWhitespacestatic intnclang_Comment_isWhitespace(long Comment, long __functionAddress) Unsafe version of:Comment_isWhitespacestatic intnclang_createAPISet(long tu, long out_api) Unsafe version of:createAPISetstatic voidnclang_Cursor_getParsedComment(long C, long __result) Unsafe version of:Cursor_getParsedCommentstatic voidnclang_Cursor_getParsedComment(long C, long __functionAddress, long __result) Unsafe version of:Cursor_getParsedCommentstatic voidnclang_FullComment_getAsHTML(long Comment, long __result) Unsafe version of:FullComment_getAsHTMLstatic voidnclang_FullComment_getAsHTML(long Comment, long __functionAddress, long __result) Unsafe version of:FullComment_getAsHTMLstatic voidnclang_FullComment_getAsXML(long Comment, long __result) Unsafe version of:FullComment_getAsXMLstatic voidnclang_FullComment_getAsXML(long Comment, long __functionAddress, long __result) Unsafe version of:FullComment_getAsXMLstatic voidnclang_getSymbolGraphForCursor(long cursor, long __result) Unsafe version of:getSymbolGraphForCursorstatic voidnclang_getSymbolGraphForCursor(long cursor, long __functionAddress, long __result) Unsafe version of:getSymbolGraphForCursorstatic voidnclang_getSymbolGraphForUSR(long usr, long api, long __result) Unsafe version of:getSymbolGraphForUSRstatic voidnclang_getSymbolGraphForUSR(long usr, long api, long __functionAddress, long __result) Unsafe version of:getSymbolGraphForUSRstatic voidnclang_HTMLStartTag_getAttrName(long Comment, int AttrIdx, long __result) Unsafe version of:HTMLStartTag_getAttrNamestatic voidnclang_HTMLStartTag_getAttrName(long Comment, int AttrIdx, long __functionAddress, long __result) Unsafe version of:HTMLStartTag_getAttrNamestatic voidnclang_HTMLStartTag_getAttrValue(long Comment, int AttrIdx, long __result) Unsafe version of:HTMLStartTag_getAttrValuestatic voidnclang_HTMLStartTag_getAttrValue(long Comment, int AttrIdx, long __functionAddress, long __result) Unsafe version of:HTMLStartTag_getAttrValuestatic intnclang_HTMLStartTag_getNumAttrs(long Comment) Unsafe version of:HTMLStartTag_getNumAttrsstatic intnclang_HTMLStartTag_getNumAttrs(long Comment, long __functionAddress) Unsafe version of:HTMLStartTag_getNumAttrsstatic intnclang_HTMLStartTagComment_isSelfClosing(long Comment) Unsafe version of:HTMLStartTagComment_isSelfClosingstatic intnclang_HTMLStartTagComment_isSelfClosing(long Comment, long __functionAddress) Unsafe version of:HTMLStartTagComment_isSelfClosingstatic voidnclang_HTMLTagComment_getAsString(long Comment, long __result) Unsafe version of:HTMLTagComment_getAsStringstatic voidnclang_HTMLTagComment_getAsString(long Comment, long __functionAddress, long __result) Unsafe version of:HTMLTagComment_getAsStringstatic voidnclang_HTMLTagComment_getTagName(long Comment, long __result) Unsafe version of:HTMLTagComment_getTagNamestatic voidnclang_HTMLTagComment_getTagName(long Comment, long __functionAddress, long __result) Unsafe version of:HTMLTagComment_getTagNamestatic voidnclang_InlineCommandComment_getArgText(long Comment, int ArgIdx, long __result) Unsafe version of:InlineCommandComment_getArgTextstatic voidnclang_InlineCommandComment_getArgText(long Comment, int ArgIdx, long __functionAddress, long __result) Unsafe version of:InlineCommandComment_getArgTextstatic voidnclang_InlineCommandComment_getCommandName(long Comment, long __result) Unsafe version of:InlineCommandComment_getCommandNamestatic voidnclang_InlineCommandComment_getCommandName(long Comment, long __functionAddress, long __result) Unsafe version of:InlineCommandComment_getCommandNamestatic intnclang_InlineCommandComment_getNumArgs(long Comment) Unsafe version of:InlineCommandComment_getNumArgsstatic intnclang_InlineCommandComment_getNumArgs(long Comment, long __functionAddress) Unsafe version of:InlineCommandComment_getNumArgsstatic intnclang_InlineCommandComment_getRenderKind(long Comment) Unsafe version of:InlineCommandComment_getRenderKindstatic intnclang_InlineCommandComment_getRenderKind(long Comment, long __functionAddress) Unsafe version of:InlineCommandComment_getRenderKindstatic intnclang_InlineContentComment_hasTrailingNewline(long Comment) Unsafe version of:InlineContentComment_hasTrailingNewlinestatic intnclang_InlineContentComment_hasTrailingNewline(long Comment, long __functionAddress) Unsafe version of:InlineContentComment_hasTrailingNewlinestatic intnclang_ParamCommandComment_getDirection(long Comment) Unsafe version of:ParamCommandComment_getDirectionstatic intnclang_ParamCommandComment_getDirection(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_getDirectionstatic intnclang_ParamCommandComment_getParamIndex(long Comment) Unsafe version of:ParamCommandComment_getParamIndexstatic intnclang_ParamCommandComment_getParamIndex(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_getParamIndexstatic voidnclang_ParamCommandComment_getParamName(long Comment, long __result) Unsafe version of:ParamCommandComment_getParamNamestatic voidnclang_ParamCommandComment_getParamName(long Comment, long __functionAddress, long __result) Unsafe version of:ParamCommandComment_getParamNamestatic intnclang_ParamCommandComment_isDirectionExplicit(long Comment) Unsafe version of:ParamCommandComment_isDirectionExplicitstatic intnclang_ParamCommandComment_isDirectionExplicit(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_isDirectionExplicitstatic intnclang_ParamCommandComment_isParamIndexValid(long Comment) Unsafe version of:ParamCommandComment_isParamIndexValidstatic intnclang_ParamCommandComment_isParamIndexValid(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_isParamIndexValidstatic voidnclang_TextComment_getText(long Comment, long __result) Unsafe version of:TextComment_getTextstatic voidnclang_TextComment_getText(long Comment, long __functionAddress, long __result) Unsafe version of:TextComment_getTextstatic intnclang_TParamCommandComment_getDepth(long Comment) Unsafe version of:TParamCommandComment_getDepthstatic intnclang_TParamCommandComment_getDepth(long Comment, long __functionAddress) Unsafe version of:TParamCommandComment_getDepthstatic intnclang_TParamCommandComment_getIndex(long Comment, int Depth) Unsafe version of:TParamCommandComment_getIndexstatic intnclang_TParamCommandComment_getIndex(long Comment, int Depth, long __functionAddress) Unsafe version of:TParamCommandComment_getIndexstatic voidnclang_TParamCommandComment_getParamName(long Comment, long __result) Unsafe version of:TParamCommandComment_getParamNamestatic voidnclang_TParamCommandComment_getParamName(long Comment, long __functionAddress, long __result) Unsafe version of:TParamCommandComment_getParamNamestatic intnclang_TParamCommandComment_isParamPositionValid(long Comment) Unsafe version of:TParamCommandComment_isParamPositionValidstatic intnclang_TParamCommandComment_isParamPositionValid(long Comment, long __functionAddress) Unsafe version of:TParamCommandComment_isParamPositionValidstatic voidnclang_VerbatimBlockLineComment_getText(long Comment, long __result) Unsafe version of:VerbatimBlockLineComment_getTextstatic voidnclang_VerbatimBlockLineComment_getText(long Comment, long __functionAddress, long __result) Unsafe version of:VerbatimBlockLineComment_getTextstatic voidnclang_VerbatimLineComment_getText(long Comment, long __result) Unsafe version of:VerbatimLineComment_getTextstatic voidnclang_VerbatimLineComment_getText(long Comment, long __functionAddress, long __result) Unsafe version of:VerbatimLineComment_getText
-
Field Details
-
CXComment_Null
public static final int CXComment_NullDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_Text
public static final int CXComment_TextDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_InlineCommand
public static final int CXComment_InlineCommandDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_HTMLStartTag
public static final int CXComment_HTMLStartTagDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_HTMLEndTag
public static final int CXComment_HTMLEndTagDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_Paragraph
public static final int CXComment_ParagraphDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_BlockCommand
public static final int CXComment_BlockCommandDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_ParamCommand
public static final int CXComment_ParamCommandDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_TParamCommand
public static final int CXComment_TParamCommandDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_VerbatimBlockCommand
public static final int CXComment_VerbatimBlockCommandDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_VerbatimBlockLine
public static final int CXComment_VerbatimBlockLineDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_VerbatimLine
public static final int CXComment_VerbatimLineDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXComment_FullComment
public static final int CXComment_FullCommentDescribes 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).(
enum CXCommentKind)Enum values:
Comment_Null- Null comment. No AST node is constructed at the requested location because there is no text or a syntax error.Comment_Text- Plain text. Inline content.Comment_InlineCommand- A command with word-like arguments that is considered inline content.For example: \c command.
Comment_HTMLStartTag- HTML start tag with attributes (name-value pairs). Considered inline content.For example:
<br> <br /> <a href="https://example.org/">Comment_HTMLEndTag- HTML end tag. Considered inline content.For example:
</a>Comment_Paragraph- A paragraph, contains inline comment. The paragraph itself is block content.Comment_BlockCommand- A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument. Block command is block content.Paragraph argument is also a child of the block command.
For example: has 0 word-like arguments and a paragraph argument.
AST nodes of special kinds that parser knows about (e. g.,\param command) have their own node kinds.
Comment_ParamCommand- A \param or \arg command that describes the function parameter (name, passing direction, description).For example: \param [in] ParamName description.
Comment_TParamCommand- A \tparam command that describes a template parameter (name and description).For example: \tparam T description.
Comment_VerbatimBlockCommand- A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (Comment_VerbatimBlockLinechild nodes).For example: \verbatim aaa \endverbatim
Comment_VerbatimBlockLine- A line of text that is contained within a CXComment_VerbatimBlockCommand node.Comment_VerbatimLine- A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.Comment_FullComment- A full comment attached to a declaration, contains block content.
- See Also:
-
CXCommentInlineCommandRenderKind_Normal
public static final int CXCommentInlineCommandRenderKind_NormalThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.(
enum CXCommentInlineCommandRenderKind)Enum values:
CommentInlineCommandRenderKind_Normal- Command argument should be rendered in a normal font.CommentInlineCommandRenderKind_Bold- Command argument should be rendered in a bold font.CommentInlineCommandRenderKind_Monospaced- Command argument should be rendered in a monospaced font.CommentInlineCommandRenderKind_Emphasized- Command argument should be rendered emphasized (typically italic font).CommentInlineCommandRenderKind_Anchor- Command argument should not be rendered (since it only defines an anchor).
- See Also:
-
CXCommentInlineCommandRenderKind_Bold
public static final int CXCommentInlineCommandRenderKind_BoldThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.(
enum CXCommentInlineCommandRenderKind)Enum values:
CommentInlineCommandRenderKind_Normal- Command argument should be rendered in a normal font.CommentInlineCommandRenderKind_Bold- Command argument should be rendered in a bold font.CommentInlineCommandRenderKind_Monospaced- Command argument should be rendered in a monospaced font.CommentInlineCommandRenderKind_Emphasized- Command argument should be rendered emphasized (typically italic font).CommentInlineCommandRenderKind_Anchor- Command argument should not be rendered (since it only defines an anchor).
- See Also:
-
CXCommentInlineCommandRenderKind_Monospaced
public static final int CXCommentInlineCommandRenderKind_MonospacedThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.(
enum CXCommentInlineCommandRenderKind)Enum values:
CommentInlineCommandRenderKind_Normal- Command argument should be rendered in a normal font.CommentInlineCommandRenderKind_Bold- Command argument should be rendered in a bold font.CommentInlineCommandRenderKind_Monospaced- Command argument should be rendered in a monospaced font.CommentInlineCommandRenderKind_Emphasized- Command argument should be rendered emphasized (typically italic font).CommentInlineCommandRenderKind_Anchor- Command argument should not be rendered (since it only defines an anchor).
- See Also:
-
CXCommentInlineCommandRenderKind_Emphasized
public static final int CXCommentInlineCommandRenderKind_EmphasizedThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.(
enum CXCommentInlineCommandRenderKind)Enum values:
CommentInlineCommandRenderKind_Normal- Command argument should be rendered in a normal font.CommentInlineCommandRenderKind_Bold- Command argument should be rendered in a bold font.CommentInlineCommandRenderKind_Monospaced- Command argument should be rendered in a monospaced font.CommentInlineCommandRenderKind_Emphasized- Command argument should be rendered emphasized (typically italic font).CommentInlineCommandRenderKind_Anchor- Command argument should not be rendered (since it only defines an anchor).
- See Also:
-
CXCommentInlineCommandRenderKind_Anchor
public static final int CXCommentInlineCommandRenderKind_AnchorThe most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.(
enum CXCommentInlineCommandRenderKind)Enum values:
CommentInlineCommandRenderKind_Normal- Command argument should be rendered in a normal font.CommentInlineCommandRenderKind_Bold- Command argument should be rendered in a bold font.CommentInlineCommandRenderKind_Monospaced- Command argument should be rendered in a monospaced font.CommentInlineCommandRenderKind_Emphasized- Command argument should be rendered emphasized (typically italic font).CommentInlineCommandRenderKind_Anchor- Command argument should not be rendered (since it only defines an anchor).
- See Also:
-
CXCommentParamPassDirection_In
public static final int CXCommentParamPassDirection_InDescribes parameter passing direction for \param or \arg command.(
enum CXCommentParamPassDirection)Enum values:
CommentParamPassDirection_In- The parameter is an input parameter.CommentParamPassDirection_Out- The parameter is an output parameter.CommentParamPassDirection_InOut- The parameter is an input and output parameter.
- See Also:
-
CXCommentParamPassDirection_Out
public static final int CXCommentParamPassDirection_OutDescribes parameter passing direction for \param or \arg command.(
enum CXCommentParamPassDirection)Enum values:
CommentParamPassDirection_In- The parameter is an input parameter.CommentParamPassDirection_Out- The parameter is an output parameter.CommentParamPassDirection_InOut- The parameter is an input and output parameter.
- See Also:
-
CXCommentParamPassDirection_InOut
public static final int CXCommentParamPassDirection_InOutDescribes parameter passing direction for \param or \arg command.(
enum CXCommentParamPassDirection)Enum values:
CommentParamPassDirection_In- The parameter is an input parameter.CommentParamPassDirection_Out- The parameter is an output parameter.CommentParamPassDirection_InOut- The parameter is an input and output parameter.
- See Also:
-
-
Method Details
-
nclang_Cursor_getParsedComment
public static void nclang_Cursor_getParsedComment(long C, long __functionAddress, long __result) Unsafe version of:Cursor_getParsedComment -
nclang_Cursor_getParsedComment
public static void nclang_Cursor_getParsedComment(long C, long __result) Unsafe version of:Cursor_getParsedComment -
clang_Cursor_getParsedComment
Given a cursor that represents a documentable entity (e.g., declaration), return the associated parsed comment as aComment_FullCommentAST node. -
nclang_Comment_getKind
public static int nclang_Comment_getKind(long Comment, long __functionAddress) Unsafe version of:Comment_getKind -
nclang_Comment_getKind
public static int nclang_Comment_getKind(long Comment) Unsafe version of:Comment_getKind -
clang_Comment_getKind
- Parameters:
Comment- AST node of any kind- Returns:
- the type of the AST node
-
nclang_Comment_getNumChildren
public static int nclang_Comment_getNumChildren(long Comment, long __functionAddress) Unsafe version of:Comment_getNumChildren -
nclang_Comment_getNumChildren
public static int nclang_Comment_getNumChildren(long Comment) Unsafe version of:Comment_getNumChildren -
clang_Comment_getNumChildren
- Parameters:
Comment- AST node of any kind- Returns:
- number of children of the AST node
-
nclang_Comment_getChild
public static void nclang_Comment_getChild(long Comment, int ChildIdx, long __functionAddress, long __result) Unsafe version of:Comment_getChild -
nclang_Comment_getChild
public static void nclang_Comment_getChild(long Comment, int ChildIdx, long __result) Unsafe version of:Comment_getChild -
clang_Comment_getChild
- Parameters:
Comment- AST node of any kindChildIdx- child index (zero-based)__result- the specified child of the AST node
-
nclang_Comment_isWhitespace
public static int nclang_Comment_isWhitespace(long Comment, long __functionAddress) Unsafe version of:Comment_isWhitespace -
nclang_Comment_isWhitespace
public static int nclang_Comment_isWhitespace(long Comment) Unsafe version of:Comment_isWhitespace -
clang_Comment_isWhitespace
AComment_Paragraphnode is considered whitespace if it contains onlyComment_Textnodes that are empty or whitespace.Other AST nodes (except
CXComment_ParagraphandCXComment_Text) are never considered whitespace.- Returns:
- non-zero if
Commentis whitespace
-
nclang_InlineContentComment_hasTrailingNewline
public static int nclang_InlineContentComment_hasTrailingNewline(long Comment, long __functionAddress) Unsafe version of:InlineContentComment_hasTrailingNewline -
nclang_InlineContentComment_hasTrailingNewline
public static int nclang_InlineContentComment_hasTrailingNewline(long Comment) Unsafe version of:InlineContentComment_hasTrailingNewline -
clang_InlineContentComment_hasTrailingNewline
- Returns:
- non-zero if
Commentis inline content and has a newline immediately following it in the comment text. Newlines between paragraphs do not count.
-
nclang_TextComment_getText
public static void nclang_TextComment_getText(long Comment, long __functionAddress, long __result) Unsafe version of:TextComment_getText -
nclang_TextComment_getText
public static void nclang_TextComment_getText(long Comment, long __result) Unsafe version of:TextComment_getText -
clang_TextComment_getText
- Parameters:
Comment- aComment_TextAST node__result- text contained in the AST node
-
nclang_InlineCommandComment_getCommandName
public static void nclang_InlineCommandComment_getCommandName(long Comment, long __functionAddress, long __result) Unsafe version of:InlineCommandComment_getCommandName -
nclang_InlineCommandComment_getCommandName
public static void nclang_InlineCommandComment_getCommandName(long Comment, long __result) Unsafe version of:InlineCommandComment_getCommandName -
clang_InlineCommandComment_getCommandName
public static CXString clang_InlineCommandComment_getCommandName(CXComment Comment, CXString __result) - Parameters:
Comment- aComment_InlineCommandAST node__result- name of the inline command
-
nclang_InlineCommandComment_getRenderKind
public static int nclang_InlineCommandComment_getRenderKind(long Comment, long __functionAddress) Unsafe version of:InlineCommandComment_getRenderKind -
nclang_InlineCommandComment_getRenderKind
public static int nclang_InlineCommandComment_getRenderKind(long Comment) Unsafe version of:InlineCommandComment_getRenderKind -
clang_InlineCommandComment_getRenderKind
- Parameters:
Comment- aComment_InlineCommandAST node- Returns:
- the most appropriate rendering mode, chosen on command semantics in Doxygen
-
nclang_InlineCommandComment_getNumArgs
public static int nclang_InlineCommandComment_getNumArgs(long Comment, long __functionAddress) Unsafe version of:InlineCommandComment_getNumArgs -
nclang_InlineCommandComment_getNumArgs
public static int nclang_InlineCommandComment_getNumArgs(long Comment) Unsafe version of:InlineCommandComment_getNumArgs -
clang_InlineCommandComment_getNumArgs
- Parameters:
Comment- aComment_InlineCommandAST node- Returns:
- number of command arguments
-
nclang_InlineCommandComment_getArgText
public static void nclang_InlineCommandComment_getArgText(long Comment, int ArgIdx, long __functionAddress, long __result) Unsafe version of:InlineCommandComment_getArgText -
nclang_InlineCommandComment_getArgText
public static void nclang_InlineCommandComment_getArgText(long Comment, int ArgIdx, long __result) Unsafe version of:InlineCommandComment_getArgText -
clang_InlineCommandComment_getArgText
public static CXString clang_InlineCommandComment_getArgText(CXComment Comment, int ArgIdx, CXString __result) - Parameters:
Comment- aComment_InlineCommandAST nodeArgIdx- argument index (zero-based)__result- text of the specified argument
-
nclang_HTMLTagComment_getTagName
public static void nclang_HTMLTagComment_getTagName(long Comment, long __functionAddress, long __result) Unsafe version of:HTMLTagComment_getTagName -
nclang_HTMLTagComment_getTagName
public static void nclang_HTMLTagComment_getTagName(long Comment, long __result) Unsafe version of:HTMLTagComment_getTagName -
clang_HTMLTagComment_getTagName
- Parameters:
Comment- aComment_HTMLStartTagorComment_HTMLEndTagAST node__result- HTML tag name
-
nclang_HTMLStartTagComment_isSelfClosing
public static int nclang_HTMLStartTagComment_isSelfClosing(long Comment, long __functionAddress) Unsafe version of:HTMLStartTagComment_isSelfClosing -
nclang_HTMLStartTagComment_isSelfClosing
public static int nclang_HTMLStartTagComment_isSelfClosing(long Comment) Unsafe version of:HTMLStartTagComment_isSelfClosing -
clang_HTMLStartTagComment_isSelfClosing
- Parameters:
Comment- aComment_HTMLStartTagAST node- Returns:
- non-zero if tag is self-closing (for example, <br /> )
-
nclang_HTMLStartTag_getNumAttrs
public static int nclang_HTMLStartTag_getNumAttrs(long Comment, long __functionAddress) Unsafe version of:HTMLStartTag_getNumAttrs -
nclang_HTMLStartTag_getNumAttrs
public static int nclang_HTMLStartTag_getNumAttrs(long Comment) Unsafe version of:HTMLStartTag_getNumAttrs -
clang_HTMLStartTag_getNumAttrs
- Parameters:
Comment- aComment_HTMLStartTagAST node- Returns:
- number of attributes (name-value pairs) attached to the start tag
-
nclang_HTMLStartTag_getAttrName
public static void nclang_HTMLStartTag_getAttrName(long Comment, int AttrIdx, long __functionAddress, long __result) Unsafe version of:HTMLStartTag_getAttrName -
nclang_HTMLStartTag_getAttrName
public static void nclang_HTMLStartTag_getAttrName(long Comment, int AttrIdx, long __result) Unsafe version of:HTMLStartTag_getAttrName -
clang_HTMLStartTag_getAttrName
public static CXString clang_HTMLStartTag_getAttrName(CXComment Comment, int AttrIdx, CXString __result) - Parameters:
Comment- aComment_HTMLStartTagAST nodeAttrIdx- attribute index (zero-based)__result- name of the specified attribute
-
nclang_HTMLStartTag_getAttrValue
public static void nclang_HTMLStartTag_getAttrValue(long Comment, int AttrIdx, long __functionAddress, long __result) Unsafe version of:HTMLStartTag_getAttrValue -
nclang_HTMLStartTag_getAttrValue
public static void nclang_HTMLStartTag_getAttrValue(long Comment, int AttrIdx, long __result) Unsafe version of:HTMLStartTag_getAttrValue -
clang_HTMLStartTag_getAttrValue
public static CXString clang_HTMLStartTag_getAttrValue(CXComment Comment, int AttrIdx, CXString __result) - Parameters:
Comment- aComment_HTMLStartTagAST nodeAttrIdx- attribute index (zero-based)__result- value of the specified attribute
-
nclang_BlockCommandComment_getCommandName
public static void nclang_BlockCommandComment_getCommandName(long Comment, long __functionAddress, long __result) Unsafe version of:BlockCommandComment_getCommandName -
nclang_BlockCommandComment_getCommandName
public static void nclang_BlockCommandComment_getCommandName(long Comment, long __result) Unsafe version of:BlockCommandComment_getCommandName -
clang_BlockCommandComment_getCommandName
public static CXString clang_BlockCommandComment_getCommandName(CXComment Comment, CXString __result) - Parameters:
Comment- aComment_BlockCommandAST node__result- name of the block command
-
nclang_BlockCommandComment_getNumArgs
public static int nclang_BlockCommandComment_getNumArgs(long Comment, long __functionAddress) Unsafe version of:BlockCommandComment_getNumArgs -
nclang_BlockCommandComment_getNumArgs
public static int nclang_BlockCommandComment_getNumArgs(long Comment) Unsafe version of:BlockCommandComment_getNumArgs -
clang_BlockCommandComment_getNumArgs
- Parameters:
Comment- aComment_BlockCommandAST node- Returns:
- number of word-like arguments
-
nclang_BlockCommandComment_getArgText
public static void nclang_BlockCommandComment_getArgText(long Comment, int ArgIdx, long __functionAddress, long __result) Unsafe version of:BlockCommandComment_getArgText -
nclang_BlockCommandComment_getArgText
public static void nclang_BlockCommandComment_getArgText(long Comment, int ArgIdx, long __result) Unsafe version of:BlockCommandComment_getArgText -
clang_BlockCommandComment_getArgText
public static CXString clang_BlockCommandComment_getArgText(CXComment Comment, int ArgIdx, CXString __result) - Parameters:
Comment- aComment_BlockCommandAST nodeArgIdx- argument index (zero-based)__result- text of the specified word-like argument
-
nclang_BlockCommandComment_getParagraph
public static void nclang_BlockCommandComment_getParagraph(long Comment, long __functionAddress, long __result) Unsafe version of:BlockCommandComment_getParagraph -
nclang_BlockCommandComment_getParagraph
public static void nclang_BlockCommandComment_getParagraph(long Comment, long __result) Unsafe version of:BlockCommandComment_getParagraph -
clang_BlockCommandComment_getParagraph
public static CXComment clang_BlockCommandComment_getParagraph(CXComment Comment, CXComment __result) - Parameters:
Comment- aComment_BlockCommandorComment_VerbatimBlockCommandAST node__result- paragraph argument of the block command
-
nclang_ParamCommandComment_getParamName
public static void nclang_ParamCommandComment_getParamName(long Comment, long __functionAddress, long __result) Unsafe version of:ParamCommandComment_getParamName -
nclang_ParamCommandComment_getParamName
public static void nclang_ParamCommandComment_getParamName(long Comment, long __result) Unsafe version of:ParamCommandComment_getParamName -
clang_ParamCommandComment_getParamName
- Parameters:
Comment- aComment_ParamCommandAST node__result- parameter name
-
nclang_ParamCommandComment_isParamIndexValid
public static int nclang_ParamCommandComment_isParamIndexValid(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_isParamIndexValid -
nclang_ParamCommandComment_isParamIndexValid
public static int nclang_ParamCommandComment_isParamIndexValid(long Comment) Unsafe version of:ParamCommandComment_isParamIndexValid -
clang_ParamCommandComment_isParamIndexValid
- Parameters:
Comment- aComment_ParamCommandAST node- Returns:
- non-zero if the parameter that this AST node represents was found in the function prototype and
ParamCommandComment_getParamIndexfunction will return a meaningful value
-
nclang_ParamCommandComment_getParamIndex
public static int nclang_ParamCommandComment_getParamIndex(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_getParamIndex -
nclang_ParamCommandComment_getParamIndex
public static int nclang_ParamCommandComment_getParamIndex(long Comment) Unsafe version of:ParamCommandComment_getParamIndex -
clang_ParamCommandComment_getParamIndex
- Parameters:
Comment- aComment_ParamCommandAST node- Returns:
- zero-based parameter index in function prototype
-
nclang_ParamCommandComment_isDirectionExplicit
public static int nclang_ParamCommandComment_isDirectionExplicit(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_isDirectionExplicit -
nclang_ParamCommandComment_isDirectionExplicit
public static int nclang_ParamCommandComment_isDirectionExplicit(long Comment) Unsafe version of:ParamCommandComment_isDirectionExplicit -
clang_ParamCommandComment_isDirectionExplicit
- Parameters:
Comment- aComment_ParamCommandAST node- Returns:
- non-zero if parameter passing direction was specified explicitly in the comment
-
nclang_ParamCommandComment_getDirection
public static int nclang_ParamCommandComment_getDirection(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_getDirection -
nclang_ParamCommandComment_getDirection
public static int nclang_ParamCommandComment_getDirection(long Comment) Unsafe version of:ParamCommandComment_getDirection -
clang_ParamCommandComment_getDirection
- Parameters:
Comment- aComment_ParamCommandAST node- Returns:
- parameter passing direction
-
nclang_TParamCommandComment_getParamName
public static void nclang_TParamCommandComment_getParamName(long Comment, long __functionAddress, long __result) Unsafe version of:TParamCommandComment_getParamName -
nclang_TParamCommandComment_getParamName
public static void nclang_TParamCommandComment_getParamName(long Comment, long __result) Unsafe version of:TParamCommandComment_getParamName -
clang_TParamCommandComment_getParamName
public static CXString clang_TParamCommandComment_getParamName(CXComment Comment, CXString __result) - Parameters:
Comment- aComment_TParamCommandAST node__result- template parameter name
-
nclang_TParamCommandComment_isParamPositionValid
public static int nclang_TParamCommandComment_isParamPositionValid(long Comment, long __functionAddress) Unsafe version of:TParamCommandComment_isParamPositionValid -
nclang_TParamCommandComment_isParamPositionValid
public static int nclang_TParamCommandComment_isParamPositionValid(long Comment) Unsafe version of:TParamCommandComment_isParamPositionValid -
clang_TParamCommandComment_isParamPositionValid
- Parameters:
Comment- aComment_TParamCommandAST node- Returns:
- non-zero if the parameter that this AST node represents was found in the template parameter list and
TParamCommandComment_getDepthandTParamCommandComment_getIndexfunctions will return a meaningful value
-
nclang_TParamCommandComment_getDepth
public static int nclang_TParamCommandComment_getDepth(long Comment, long __functionAddress) Unsafe version of:TParamCommandComment_getDepth -
nclang_TParamCommandComment_getDepth
public static int nclang_TParamCommandComment_getDepth(long Comment) Unsafe version of:TParamCommandComment_getDepth -
clang_TParamCommandComment_getDepth
For example,template<typename C, template<typename T> class TT> void test(TT<int> aaa);for C and TT nesting depth is 0, for T nesting depth is 1.
- Parameters:
Comment- aComment_TParamCommandAST node- Returns:
- zero-based nesting depth of this parameter in the template parameter list
-
nclang_TParamCommandComment_getIndex
public static int nclang_TParamCommandComment_getIndex(long Comment, int Depth, long __functionAddress) Unsafe version of:TParamCommandComment_getIndex -
nclang_TParamCommandComment_getIndex
public static int nclang_TParamCommandComment_getIndex(long Comment, int Depth) Unsafe version of:TParamCommandComment_getIndex -
clang_TParamCommandComment_getIndex
For example,template<typename C, template<typename T> class TT> void test(TT<int> aaa);for C and TT nesting depth is 0, so we can ask for index at depth 0: at depth 0 C's index is 0, TT's index is 1.
For T nesting depth is 1, so we can ask for index at depth 0 and 1: at depth 0 T's index is 1 (same as TT's), at depth 1 T's index is 0.
- Parameters:
Comment- aComment_TParamCommandAST node- Returns:
- zero-based parameter index in the template parameter list at a given nesting depth
-
nclang_VerbatimBlockLineComment_getText
public static void nclang_VerbatimBlockLineComment_getText(long Comment, long __functionAddress, long __result) Unsafe version of:VerbatimBlockLineComment_getText -
nclang_VerbatimBlockLineComment_getText
public static void nclang_VerbatimBlockLineComment_getText(long Comment, long __result) Unsafe version of:VerbatimBlockLineComment_getText -
clang_VerbatimBlockLineComment_getText
- Parameters:
Comment- aComment_VerbatimBlockLineAST node__result- text contained in the AST node
-
nclang_VerbatimLineComment_getText
public static void nclang_VerbatimLineComment_getText(long Comment, long __functionAddress, long __result) Unsafe version of:VerbatimLineComment_getText -
nclang_VerbatimLineComment_getText
public static void nclang_VerbatimLineComment_getText(long Comment, long __result) Unsafe version of:VerbatimLineComment_getText -
clang_VerbatimLineComment_getText
- Parameters:
Comment- aComment_VerbatimLineAST node__result- text contained in the AST node
-
nclang_HTMLTagComment_getAsString
public static void nclang_HTMLTagComment_getAsString(long Comment, long __functionAddress, long __result) Unsafe version of:HTMLTagComment_getAsString -
nclang_HTMLTagComment_getAsString
public static void nclang_HTMLTagComment_getAsString(long Comment, long __result) Unsafe version of:HTMLTagComment_getAsString -
clang_HTMLTagComment_getAsString
Convert an HTML tag AST node to string.- Parameters:
Comment- aComment_HTMLStartTagorComment_HTMLEndTagAST node__result- string containing an HTML tag
-
nclang_FullComment_getAsHTML
public static void nclang_FullComment_getAsHTML(long Comment, long __functionAddress, long __result) Unsafe version of:FullComment_getAsHTML -
nclang_FullComment_getAsHTML
public static void nclang_FullComment_getAsHTML(long Comment, long __result) Unsafe version of:FullComment_getAsHTML -
clang_FullComment_getAsHTML
Convert a given full parsed comment to an HTML fragment.Specific details of HTML layout are subject to change. Don't try to parse this HTML back into an AST, use other APIs instead.
Currently the following CSS classes are used:
- "para-brief" for \paragraph and equivalent commands;
- "para-returns" for \returns paragraph and equivalent commands;
- "word-returns" for the "Returns" word in \returns paragraph.
Function argument documentation is rendered as a <dl> list with arguments sorted in function prototype order. CSS classes used:
- "param-name-index-NUMBER" for parameter name ( <dt> );
- "param-descr-index-NUMBER" for parameter description ( <dd> );
- "param-name-index-invalid" and "param-descr-index-invalid" are used if parameter index is invalid.
Template parameter documentation is rendered as a <dl> list with parameters sorted in template parameter list order. CSS classes used:
- "tparam-name-index-NUMBER" for parameter name ( <dt> );
- "tparam-descr-index-NUMBER" for parameter description ( <dd> );
- "tparam-name-index-other" and "tparam-descr-index-other" are used for names inside template template parameters;
- "tparam-name-index-invalid" and "tparam-descr-index-invalid" are used if parameter position is invalid.
- Parameters:
Comment- aComment_FullCommentAST node__result- string containing an HTML fragment
-
nclang_FullComment_getAsXML
public static void nclang_FullComment_getAsXML(long Comment, long __functionAddress, long __result) Unsafe version of:FullComment_getAsXML -
nclang_FullComment_getAsXML
public static void nclang_FullComment_getAsXML(long Comment, long __result) Unsafe version of:FullComment_getAsXML -
clang_FullComment_getAsXML
Convert a given full parsed comment to an XML document.A Relax NG schema for the XML can be found in comment-xml-schema.rng file inside clang source tree.
- Parameters:
Comment- aComment_FullCommentAST node__result- string containing an XML document
-
nclang_createAPISet
public static int nclang_createAPISet(long tu, long out_api) Unsafe version of:createAPISet -
clang_createAPISet
public static int clang_createAPISet(long tu, org.lwjgl.PointerBuffer out_api) Traverses the translation unit to create aCXAPISet.- Parameters:
tu- theCXTranslationUnitto build theCXAPISetforout_api- a pointer to the output of this function. It is needs to be disposed of by callingdisposeAPISet.- Returns:
- error code indicating success or failure of the APISet creation
-
clang_disposeAPISet
public static void clang_disposeAPISet(long api) Dispose of an APISet.The provided
CXAPISetcan not be used after this function is called. -
nclang_getSymbolGraphForUSR
public static void nclang_getSymbolGraphForUSR(long usr, long api, long __functionAddress, long __result) Unsafe version of:getSymbolGraphForUSR -
nclang_getSymbolGraphForUSR
public static void nclang_getSymbolGraphForUSR(long usr, long api, long __result) Unsafe version of:getSymbolGraphForUSR -
clang_getSymbolGraphForUSR
Generate a single symbol symbol graph for the given USR.Returns a null string if the associated symbol can not be found in the provided
CXAPISet. The output contains the symbol graph as well as some additional information about related symbols.- Parameters:
usr- a string containing the USR of the symbol to generate the symbol graph forapi- theCXAPISetto look for the symbol in__result- a string containing the serialized symbol graph representation for the symbol being queried or a null string if it can not be found in the APISet
-
clang_getSymbolGraphForUSR
Generate a single symbol symbol graph for the given USR.Returns a null string if the associated symbol can not be found in the provided
CXAPISet. The output contains the symbol graph as well as some additional information about related symbols.- Parameters:
usr- a string containing the USR of the symbol to generate the symbol graph forapi- theCXAPISetto look for the symbol in__result- a string containing the serialized symbol graph representation for the symbol being queried or a null string if it can not be found in the APISet
-
nclang_getSymbolGraphForCursor
public static void nclang_getSymbolGraphForCursor(long cursor, long __functionAddress, long __result) Unsafe version of:getSymbolGraphForCursor -
nclang_getSymbolGraphForCursor
public static void nclang_getSymbolGraphForCursor(long cursor, long __result) Unsafe version of:getSymbolGraphForCursor -
clang_getSymbolGraphForCursor
Generate a single symbol symbol graph for the declaration at the given cursor.Returns a null string if the AST node for the cursor isn't a declaration. The output contains the symbol graph as well as some additional information about related symbols.
- Parameters:
cursor- the declaration for which to generate the single symbol symbol graph.__result- a string containing the serialized symbol graph representation for the symbol being queried or a null string if it can not be found in the APISet
-