Class ClangDocumentation

java.lang.Object
org.lwjgl.llvm.ClangDocumentation

public class ClangDocumentation extends Object
  • Field Details

    • CXComment_Null

      public static final int CXComment_Null
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_Text
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_InlineCommand
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_HTMLStartTag
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_HTMLEndTag
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_Paragraph
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_BlockCommand
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_ParamCommand
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_TParamCommand
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_VerbatimBlockCommand
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_VerbatimBlockLine
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_VerbatimLine
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_FullComment
      Describes the type of the comment AST node ( CXComment). A comment node can be considered block content (e. g., paragraph), inline content (plain text) or neither (the root AST node).

      (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_Normal
      The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.

      (enum CXCommentInlineCommandRenderKind)

      Enum values:
      See Also:
    • CXCommentInlineCommandRenderKind_Bold

      public static final int CXCommentInlineCommandRenderKind_Bold
      The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.

      (enum CXCommentInlineCommandRenderKind)

      Enum values:
      See Also:
    • CXCommentInlineCommandRenderKind_Monospaced

      public static final int CXCommentInlineCommandRenderKind_Monospaced
      The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.

      (enum CXCommentInlineCommandRenderKind)

      Enum values:
      See Also:
    • CXCommentInlineCommandRenderKind_Emphasized

      public static final int CXCommentInlineCommandRenderKind_Emphasized
      The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.

      (enum CXCommentInlineCommandRenderKind)

      Enum values:
      See Also:
    • CXCommentInlineCommandRenderKind_Anchor

      public static final int CXCommentInlineCommandRenderKind_Anchor
      The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen.

      (enum CXCommentInlineCommandRenderKind)

      Enum values:
      See Also:
    • CXCommentParamPassDirection_In

      public static final int CXCommentParamPassDirection_In
      Describes parameter passing direction for \param or \arg command.

      (enum CXCommentParamPassDirection)

      Enum values:
      See Also:
    • CXCommentParamPassDirection_Out

      public static final int CXCommentParamPassDirection_Out
      Describes parameter passing direction for \param or \arg command.

      (enum CXCommentParamPassDirection)

      Enum values:
      See Also:
    • CXCommentParamPassDirection_InOut

      public static final int CXCommentParamPassDirection_InOut
      Describes parameter passing direction for \param or \arg command.

      (enum CXCommentParamPassDirection)

      Enum values:
      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

      public 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 a Comment_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

      public static int clang_Comment_getKind(CXComment Comment)
      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

      public static int clang_Comment_getNumChildren(CXComment Comment)
      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

      public static CXComment clang_Comment_getChild(CXComment Comment, int ChildIdx, CXComment __result)
      Parameters:
      Comment - AST node of any kind
      ChildIdx - 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

      public static boolean clang_Comment_isWhitespace(CXComment Comment)
      A Comment_Paragraph node is considered whitespace if it contains only Comment_Text nodes that are empty or whitespace.

      Other AST nodes (except CXComment_Paragraph and CXComment_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)
    • nclang_InlineContentComment_hasTrailingNewline

      public static int nclang_InlineContentComment_hasTrailingNewline(long Comment)
    • clang_InlineContentComment_hasTrailingNewline

      public static boolean clang_InlineContentComment_hasTrailingNewline(CXComment Comment)
      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

      public static CXString clang_TextComment_getText(CXComment Comment, CXString __result)
      Parameters:
      Comment - a Comment_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)
    • nclang_InlineCommandComment_getCommandName

      public static void nclang_InlineCommandComment_getCommandName(long Comment, long __result)
    • clang_InlineCommandComment_getCommandName

      public static CXString clang_InlineCommandComment_getCommandName(CXComment Comment, CXString __result)
      Parameters:
      Comment - a Comment_InlineCommand AST node
      __result - name of the inline command
    • nclang_InlineCommandComment_getRenderKind

      public static int nclang_InlineCommandComment_getRenderKind(long Comment, long __functionAddress)
    • nclang_InlineCommandComment_getRenderKind

      public static int nclang_InlineCommandComment_getRenderKind(long Comment)
    • clang_InlineCommandComment_getRenderKind

      public static int clang_InlineCommandComment_getRenderKind(CXComment Comment)
      Parameters:
      Comment - a Comment_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)
    • nclang_InlineCommandComment_getNumArgs

      public static int nclang_InlineCommandComment_getNumArgs(long Comment)
    • clang_InlineCommandComment_getNumArgs

      public static int clang_InlineCommandComment_getNumArgs(CXComment Comment)
      Parameters:
      Comment - a Comment_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)
    • nclang_InlineCommandComment_getArgText

      public static void nclang_InlineCommandComment_getArgText(long Comment, int ArgIdx, long __result)
    • clang_InlineCommandComment_getArgText

      public static CXString clang_InlineCommandComment_getArgText(CXComment Comment, int ArgIdx, CXString __result)
      Parameters:
      Comment - a Comment_InlineCommand AST node
      ArgIdx - 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

      public static CXString clang_HTMLTagComment_getTagName(CXComment Comment, CXString __result)
      Parameters:
      Comment - a Comment_HTMLStartTag or Comment_HTMLEndTag AST node
      __result - HTML tag name
    • nclang_HTMLStartTagComment_isSelfClosing

      public static int nclang_HTMLStartTagComment_isSelfClosing(long Comment, long __functionAddress)
    • nclang_HTMLStartTagComment_isSelfClosing

      public static int nclang_HTMLStartTagComment_isSelfClosing(long Comment)
    • clang_HTMLStartTagComment_isSelfClosing

      public static boolean clang_HTMLStartTagComment_isSelfClosing(CXComment Comment)
      Parameters:
      Comment - a Comment_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

      public static int clang_HTMLStartTag_getNumAttrs(CXComment Comment)
      Parameters:
      Comment - a Comment_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 - a Comment_HTMLStartTag AST node
      AttrIdx - 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 - a Comment_HTMLStartTag AST node
      AttrIdx - 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)
    • nclang_BlockCommandComment_getCommandName

      public static void nclang_BlockCommandComment_getCommandName(long Comment, long __result)
    • clang_BlockCommandComment_getCommandName

      public static CXString clang_BlockCommandComment_getCommandName(CXComment Comment, CXString __result)
      Parameters:
      Comment - a Comment_BlockCommand AST node
      __result - name of the block command
    • nclang_BlockCommandComment_getNumArgs

      public static int nclang_BlockCommandComment_getNumArgs(long Comment, long __functionAddress)
    • nclang_BlockCommandComment_getNumArgs

      public static int nclang_BlockCommandComment_getNumArgs(long Comment)
    • clang_BlockCommandComment_getNumArgs

      public static int clang_BlockCommandComment_getNumArgs(CXComment Comment)
      Parameters:
      Comment - a Comment_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)
    • nclang_BlockCommandComment_getArgText

      public static void nclang_BlockCommandComment_getArgText(long Comment, int ArgIdx, long __result)
    • clang_BlockCommandComment_getArgText

      public static CXString clang_BlockCommandComment_getArgText(CXComment Comment, int ArgIdx, CXString __result)
      Parameters:
      Comment - a Comment_BlockCommand AST node
      ArgIdx - 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)
    • nclang_BlockCommandComment_getParagraph

      public static void nclang_BlockCommandComment_getParagraph(long Comment, long __result)
    • clang_BlockCommandComment_getParagraph

      public static CXComment clang_BlockCommandComment_getParagraph(CXComment Comment, CXComment __result)
      Parameters:
      Comment - a Comment_BlockCommand or Comment_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)
    • nclang_ParamCommandComment_getParamName

      public static void nclang_ParamCommandComment_getParamName(long Comment, long __result)
    • clang_ParamCommandComment_getParamName

      public static CXString clang_ParamCommandComment_getParamName(CXComment Comment, CXString __result)
      Parameters:
      Comment - a Comment_ParamCommand AST node
      __result - parameter name
    • nclang_ParamCommandComment_isParamIndexValid

      public static int nclang_ParamCommandComment_isParamIndexValid(long Comment, long __functionAddress)
    • nclang_ParamCommandComment_isParamIndexValid

      public static int nclang_ParamCommandComment_isParamIndexValid(long Comment)
    • clang_ParamCommandComment_isParamIndexValid

      public static boolean clang_ParamCommandComment_isParamIndexValid(CXComment Comment)
      Parameters:
      Comment - a Comment_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)
    • nclang_ParamCommandComment_getParamIndex

      public static int nclang_ParamCommandComment_getParamIndex(long Comment)
    • clang_ParamCommandComment_getParamIndex

      public static int clang_ParamCommandComment_getParamIndex(CXComment Comment)
      Parameters:
      Comment - a Comment_ParamCommand AST node
      Returns:
      zero-based parameter index in function prototype
    • nclang_ParamCommandComment_isDirectionExplicit

      public static int nclang_ParamCommandComment_isDirectionExplicit(long Comment, long __functionAddress)
    • nclang_ParamCommandComment_isDirectionExplicit

      public static int nclang_ParamCommandComment_isDirectionExplicit(long Comment)
    • clang_ParamCommandComment_isDirectionExplicit

      public static boolean clang_ParamCommandComment_isDirectionExplicit(CXComment Comment)
      Parameters:
      Comment - a Comment_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)
    • nclang_ParamCommandComment_getDirection

      public static int nclang_ParamCommandComment_getDirection(long Comment)
    • clang_ParamCommandComment_getDirection

      public static int clang_ParamCommandComment_getDirection(CXComment Comment)
      Parameters:
      Comment - a Comment_ParamCommand AST node
      Returns:
      parameter passing direction
    • nclang_TParamCommandComment_getParamName

      public static void nclang_TParamCommandComment_getParamName(long Comment, long __functionAddress, long __result)
    • nclang_TParamCommandComment_getParamName

      public static void nclang_TParamCommandComment_getParamName(long Comment, long __result)
    • clang_TParamCommandComment_getParamName

      public static CXString clang_TParamCommandComment_getParamName(CXComment Comment, CXString __result)
      Parameters:
      Comment - a Comment_TParamCommand AST node
      __result - template parameter name
    • nclang_TParamCommandComment_isParamPositionValid

      public static int nclang_TParamCommandComment_isParamPositionValid(long Comment, long __functionAddress)
    • nclang_TParamCommandComment_isParamPositionValid

      public static int nclang_TParamCommandComment_isParamPositionValid(long Comment)
    • clang_TParamCommandComment_isParamPositionValid

      public static boolean clang_TParamCommandComment_isParamPositionValid(CXComment Comment)
      Parameters:
      Comment - a Comment_TParamCommand AST node
      Returns:
      non-zero if the parameter that this AST node represents was found in the template parameter list and TParamCommandComment_getDepth and TParamCommandComment_getIndex functions will return a meaningful value
    • nclang_TParamCommandComment_getDepth

      public static int nclang_TParamCommandComment_getDepth(long Comment, long __functionAddress)
    • nclang_TParamCommandComment_getDepth

      public static int nclang_TParamCommandComment_getDepth(long Comment)
    • clang_TParamCommandComment_getDepth

      public static int clang_TParamCommandComment_getDepth(CXComment Comment)
      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 - a Comment_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)
    • nclang_TParamCommandComment_getIndex

      public static int nclang_TParamCommandComment_getIndex(long Comment, int Depth)
    • clang_TParamCommandComment_getIndex

      public static int clang_TParamCommandComment_getIndex(CXComment Comment, int Depth)
      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 - a Comment_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)
    • nclang_VerbatimBlockLineComment_getText

      public static void nclang_VerbatimBlockLineComment_getText(long Comment, long __result)
    • clang_VerbatimBlockLineComment_getText

      public static CXString clang_VerbatimBlockLineComment_getText(CXComment Comment, CXString __result)
      Parameters:
      Comment - a Comment_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

      public static CXString clang_VerbatimLineComment_getText(CXComment Comment, CXString __result)
      Parameters:
      Comment - a Comment_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

      public static CXString clang_HTMLTagComment_getAsString(CXComment Comment, CXString __result)
      Convert an HTML tag AST node to string.
      Parameters:
      Comment - a Comment_HTMLStartTag or Comment_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

      public static CXString clang_FullComment_getAsHTML(CXComment Comment, CXString __result)
      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 - a Comment_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

      public static CXString clang_FullComment_getAsXML(CXComment Comment, CXString __result)
      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 - a Comment_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

      public static int clang_createAPISet(long tu, PointerBuffer out_api)
      Traverses the translation unit to create a CXAPISet.
      Parameters:
      tu - the CXTranslationUnit to build the CXAPISet for
      out_api - a pointer to the output of this function. It is needs to be disposed of by calling disposeAPISet.
      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

      public static CXString clang_getSymbolGraphForUSR(ByteBuffer usr, long api, CXString __result)
      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 for
      api - the CXAPISet 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

      public static CXString clang_getSymbolGraphForUSR(CharSequence usr, long api, CXString __result)
      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 for
      api - the CXAPISet 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

      public static CXString clang_getSymbolGraphForCursor(CXCursor cursor, CXString __result)
      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