Class ClangDocumentation
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Contains the function pointers loaded fromClangIndex.getLibrary()
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
Describes the type of the comment AST node (CXComment
).static final int
The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final int
The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final int
The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final int
The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final int
The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.static final int
Describes parameter passing direction for \param or \arg command.static final int
Describes parameter passing direction for \param or \arg command.static final int
Describes parameter passing direction for \param or \arg command. -
Method Summary
Modifier and TypeMethodDescriptionstatic CXString
clang_BlockCommandComment_getArgText
(CXComment Comment, int ArgIdx, CXString __result) static CXString
clang_BlockCommandComment_getCommandName
(CXComment Comment, CXString __result) static int
static CXComment
clang_BlockCommandComment_getParagraph
(CXComment Comment, CXComment __result) static CXComment
clang_Comment_getChild
(CXComment Comment, int ChildIdx, CXComment __result) static int
clang_Comment_getKind
(CXComment Comment) static int
clang_Comment_getNumChildren
(CXComment Comment) static boolean
clang_Comment_isWhitespace
(CXComment Comment) AComment_Paragraph
node is considered whitespace if it contains onlyComment_Text
nodes that are empty or whitespace.static int
clang_createAPISet
(long tu, PointerBuffer out_api) Traverses the translation unit to create aCXAPISet
.static CXComment
clang_Cursor_getParsedComment
(CXCursor C, CXComment __result) Given a cursor that represents a documentable entity (e.g., declaration), return the associated parsed comment as aComment_FullComment
AST node.static void
clang_disposeAPISet
(long api) Dispose of an APISet.static CXString
clang_FullComment_getAsHTML
(CXComment Comment, CXString __result) Convert a given full parsed comment to an HTML fragment.static CXString
clang_FullComment_getAsXML
(CXComment Comment, CXString __result) Convert a given full parsed comment to an XML document.static CXString
clang_getSymbolGraphForCursor
(CXCursor cursor, CXString __result) Generate a single symbol symbol graph for the declaration at the given cursor.static CXString
clang_getSymbolGraphForUSR
(CharSequence usr, long api, CXString __result) Generate a single symbol symbol graph for the given USR.static CXString
clang_getSymbolGraphForUSR
(ByteBuffer usr, long api, CXString __result) Generate a single symbol symbol graph for the given USR.static CXString
clang_HTMLStartTag_getAttrName
(CXComment Comment, int AttrIdx, CXString __result) static CXString
clang_HTMLStartTag_getAttrValue
(CXComment Comment, int AttrIdx, CXString __result) static int
clang_HTMLStartTag_getNumAttrs
(CXComment Comment) static boolean
static CXString
clang_HTMLTagComment_getAsString
(CXComment Comment, CXString __result) Convert an HTML tag AST node to string.static CXString
clang_HTMLTagComment_getTagName
(CXComment Comment, CXString __result) static CXString
clang_InlineCommandComment_getArgText
(CXComment Comment, int ArgIdx, CXString __result) static CXString
clang_InlineCommandComment_getCommandName
(CXComment Comment, CXString __result) static int
static int
static boolean
static int
static int
static CXString
clang_ParamCommandComment_getParamName
(CXComment Comment, CXString __result) static boolean
static boolean
static CXString
clang_TextComment_getText
(CXComment Comment, CXString __result) static int
For example,static int
clang_TParamCommandComment_getIndex
(CXComment Comment, int Depth) For example,static CXString
clang_TParamCommandComment_getParamName
(CXComment Comment, CXString __result) static boolean
static CXString
clang_VerbatimBlockLineComment_getText
(CXComment Comment, CXString __result) static CXString
clang_VerbatimLineComment_getText
(CXComment Comment, CXString __result) static void
nclang_BlockCommandComment_getArgText
(long Comment, int ArgIdx, long __result) Unsafe version of:BlockCommandComment_getArgText
static void
nclang_BlockCommandComment_getArgText
(long Comment, int ArgIdx, long __functionAddress, long __result) Unsafe version of:BlockCommandComment_getArgText
static void
nclang_BlockCommandComment_getCommandName
(long Comment, long __result) Unsafe version of:BlockCommandComment_getCommandName
static void
nclang_BlockCommandComment_getCommandName
(long Comment, long __functionAddress, long __result) Unsafe version of:BlockCommandComment_getCommandName
static int
nclang_BlockCommandComment_getNumArgs
(long Comment) Unsafe version of:BlockCommandComment_getNumArgs
static int
nclang_BlockCommandComment_getNumArgs
(long Comment, long __functionAddress) Unsafe version of:BlockCommandComment_getNumArgs
static void
nclang_BlockCommandComment_getParagraph
(long Comment, long __result) Unsafe version of:BlockCommandComment_getParagraph
static void
nclang_BlockCommandComment_getParagraph
(long Comment, long __functionAddress, long __result) Unsafe version of:BlockCommandComment_getParagraph
static void
nclang_Comment_getChild
(long Comment, int ChildIdx, long __result) Unsafe version of:Comment_getChild
static void
nclang_Comment_getChild
(long Comment, int ChildIdx, long __functionAddress, long __result) Unsafe version of:Comment_getChild
static int
nclang_Comment_getKind
(long Comment) Unsafe version of:Comment_getKind
static int
nclang_Comment_getKind
(long Comment, long __functionAddress) Unsafe version of:Comment_getKind
static int
nclang_Comment_getNumChildren
(long Comment) Unsafe version of:Comment_getNumChildren
static int
nclang_Comment_getNumChildren
(long Comment, long __functionAddress) Unsafe version of:Comment_getNumChildren
static int
nclang_Comment_isWhitespace
(long Comment) Unsafe version of:Comment_isWhitespace
static int
nclang_Comment_isWhitespace
(long Comment, long __functionAddress) Unsafe version of:Comment_isWhitespace
static int
nclang_createAPISet
(long tu, long out_api) Unsafe version of:createAPISet
static void
nclang_Cursor_getParsedComment
(long C, long __result) Unsafe version of:Cursor_getParsedComment
static void
nclang_Cursor_getParsedComment
(long C, long __functionAddress, long __result) Unsafe version of:Cursor_getParsedComment
static void
nclang_FullComment_getAsHTML
(long Comment, long __result) Unsafe version of:FullComment_getAsHTML
static void
nclang_FullComment_getAsHTML
(long Comment, long __functionAddress, long __result) Unsafe version of:FullComment_getAsHTML
static void
nclang_FullComment_getAsXML
(long Comment, long __result) Unsafe version of:FullComment_getAsXML
static void
nclang_FullComment_getAsXML
(long Comment, long __functionAddress, long __result) Unsafe version of:FullComment_getAsXML
static void
nclang_getSymbolGraphForCursor
(long cursor, long __result) Unsafe version of:getSymbolGraphForCursor
static void
nclang_getSymbolGraphForCursor
(long cursor, long __functionAddress, long __result) Unsafe version of:getSymbolGraphForCursor
static void
nclang_getSymbolGraphForUSR
(long usr, long api, long __result) Unsafe version of:getSymbolGraphForUSR
static void
nclang_getSymbolGraphForUSR
(long usr, long api, long __functionAddress, long __result) Unsafe version of:getSymbolGraphForUSR
static void
nclang_HTMLStartTag_getAttrName
(long Comment, int AttrIdx, long __result) Unsafe version of:HTMLStartTag_getAttrName
static void
nclang_HTMLStartTag_getAttrName
(long Comment, int AttrIdx, long __functionAddress, long __result) Unsafe version of:HTMLStartTag_getAttrName
static void
nclang_HTMLStartTag_getAttrValue
(long Comment, int AttrIdx, long __result) Unsafe version of:HTMLStartTag_getAttrValue
static void
nclang_HTMLStartTag_getAttrValue
(long Comment, int AttrIdx, long __functionAddress, long __result) Unsafe version of:HTMLStartTag_getAttrValue
static int
nclang_HTMLStartTag_getNumAttrs
(long Comment) Unsafe version of:HTMLStartTag_getNumAttrs
static int
nclang_HTMLStartTag_getNumAttrs
(long Comment, long __functionAddress) Unsafe version of:HTMLStartTag_getNumAttrs
static int
nclang_HTMLStartTagComment_isSelfClosing
(long Comment) Unsafe version of:HTMLStartTagComment_isSelfClosing
static int
nclang_HTMLStartTagComment_isSelfClosing
(long Comment, long __functionAddress) Unsafe version of:HTMLStartTagComment_isSelfClosing
static void
nclang_HTMLTagComment_getAsString
(long Comment, long __result) Unsafe version of:HTMLTagComment_getAsString
static void
nclang_HTMLTagComment_getAsString
(long Comment, long __functionAddress, long __result) Unsafe version of:HTMLTagComment_getAsString
static void
nclang_HTMLTagComment_getTagName
(long Comment, long __result) Unsafe version of:HTMLTagComment_getTagName
static void
nclang_HTMLTagComment_getTagName
(long Comment, long __functionAddress, long __result) Unsafe version of:HTMLTagComment_getTagName
static void
nclang_InlineCommandComment_getArgText
(long Comment, int ArgIdx, long __result) Unsafe version of:InlineCommandComment_getArgText
static void
nclang_InlineCommandComment_getArgText
(long Comment, int ArgIdx, long __functionAddress, long __result) Unsafe version of:InlineCommandComment_getArgText
static void
nclang_InlineCommandComment_getCommandName
(long Comment, long __result) Unsafe version of:InlineCommandComment_getCommandName
static void
nclang_InlineCommandComment_getCommandName
(long Comment, long __functionAddress, long __result) Unsafe version of:InlineCommandComment_getCommandName
static int
nclang_InlineCommandComment_getNumArgs
(long Comment) Unsafe version of:InlineCommandComment_getNumArgs
static int
nclang_InlineCommandComment_getNumArgs
(long Comment, long __functionAddress) Unsafe version of:InlineCommandComment_getNumArgs
static int
nclang_InlineCommandComment_getRenderKind
(long Comment) Unsafe version of:InlineCommandComment_getRenderKind
static int
nclang_InlineCommandComment_getRenderKind
(long Comment, long __functionAddress) Unsafe version of:InlineCommandComment_getRenderKind
static int
nclang_InlineContentComment_hasTrailingNewline
(long Comment) Unsafe version of:InlineContentComment_hasTrailingNewline
static int
nclang_InlineContentComment_hasTrailingNewline
(long Comment, long __functionAddress) Unsafe version of:InlineContentComment_hasTrailingNewline
static int
nclang_ParamCommandComment_getDirection
(long Comment) Unsafe version of:ParamCommandComment_getDirection
static int
nclang_ParamCommandComment_getDirection
(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_getDirection
static int
nclang_ParamCommandComment_getParamIndex
(long Comment) Unsafe version of:ParamCommandComment_getParamIndex
static int
nclang_ParamCommandComment_getParamIndex
(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_getParamIndex
static void
nclang_ParamCommandComment_getParamName
(long Comment, long __result) Unsafe version of:ParamCommandComment_getParamName
static void
nclang_ParamCommandComment_getParamName
(long Comment, long __functionAddress, long __result) Unsafe version of:ParamCommandComment_getParamName
static int
nclang_ParamCommandComment_isDirectionExplicit
(long Comment) Unsafe version of:ParamCommandComment_isDirectionExplicit
static int
nclang_ParamCommandComment_isDirectionExplicit
(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_isDirectionExplicit
static int
nclang_ParamCommandComment_isParamIndexValid
(long Comment) Unsafe version of:ParamCommandComment_isParamIndexValid
static int
nclang_ParamCommandComment_isParamIndexValid
(long Comment, long __functionAddress) Unsafe version of:ParamCommandComment_isParamIndexValid
static void
nclang_TextComment_getText
(long Comment, long __result) Unsafe version of:TextComment_getText
static void
nclang_TextComment_getText
(long Comment, long __functionAddress, long __result) Unsafe version of:TextComment_getText
static int
nclang_TParamCommandComment_getDepth
(long Comment) Unsafe version of:TParamCommandComment_getDepth
static int
nclang_TParamCommandComment_getDepth
(long Comment, long __functionAddress) Unsafe version of:TParamCommandComment_getDepth
static int
nclang_TParamCommandComment_getIndex
(long Comment, int Depth) Unsafe version of:TParamCommandComment_getIndex
static int
nclang_TParamCommandComment_getIndex
(long Comment, int Depth, long __functionAddress) Unsafe version of:TParamCommandComment_getIndex
static void
nclang_TParamCommandComment_getParamName
(long Comment, long __result) Unsafe version of:TParamCommandComment_getParamName
static void
nclang_TParamCommandComment_getParamName
(long Comment, long __functionAddress, long __result) Unsafe version of:TParamCommandComment_getParamName
static int
nclang_TParamCommandComment_isParamPositionValid
(long Comment) Unsafe version of:TParamCommandComment_isParamPositionValid
static int
nclang_TParamCommandComment_isParamPositionValid
(long Comment, long __functionAddress) Unsafe version of:TParamCommandComment_isParamPositionValid
static void
nclang_VerbatimBlockLineComment_getText
(long Comment, long __result) Unsafe version of:VerbatimBlockLineComment_getText
static void
nclang_VerbatimBlockLineComment_getText
(long Comment, long __functionAddress, long __result) Unsafe version of:VerbatimBlockLineComment_getText
static void
nclang_VerbatimLineComment_getText
(long Comment, long __result) Unsafe version of:VerbatimLineComment_getText
static void
nclang_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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_VerbatimBlockLine
child 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_FullComment
AST 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_Paragraph
node is considered whitespace if it contains onlyComment_Text
nodes that are empty or whitespace.Other AST nodes (except
CXComment_Paragraph
andCXComment_Text
) are never considered whitespace.- Returns:
- non-zero if
Comment
is 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
Comment
is 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_Text
AST 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_InlineCommand
AST 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_InlineCommand
AST 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_InlineCommand
AST 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_InlineCommand
AST 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_HTMLStartTag
orComment_HTMLEndTag
AST 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_HTMLStartTag
AST 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_HTMLStartTag
AST 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_HTMLStartTag
AST 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_HTMLStartTag
AST 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_BlockCommand
AST 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_BlockCommand
AST 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_BlockCommand
AST 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_BlockCommand
orComment_VerbatimBlockCommand
AST 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_ParamCommand
AST 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_ParamCommand
AST node- Returns:
- non-zero if the parameter that this AST node represents was found in the function prototype and
ParamCommandComment_getParamIndex
function 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_ParamCommand
AST 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_ParamCommand
AST 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_ParamCommand
AST 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_TParamCommand
AST 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_TParamCommand
AST node- Returns:
- non-zero if the parameter that this AST node represents was found in the template parameter list and
TParamCommandComment_getDepth
andTParamCommandComment_getIndex
functions 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_TParamCommand
AST 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_TParamCommand
AST 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_VerbatimBlockLine
AST 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_VerbatimLine
AST 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_HTMLStartTag
orComment_HTMLEndTag
AST 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_FullComment
AST 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_FullComment
AST 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
Traverses the translation unit to create aCXAPISet
.- Parameters:
tu
- theCXTranslationUnit
to build theCXAPISet
forout_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
CXAPISet
can 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
- theCXAPISet
to 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
- theCXAPISet
to 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
-