Comment_getChild: Functions for querying comments

View source: R/clangGen.R

Comment_getChildR Documentation

Functions for querying comments

Description

These are functions working with CXComment objects.

Usage

Comment_getChild(Comment, ChildIdx)
Comment_getKind(Comment)
Comment_getNumChildren(Comment)
Comment_isWhitespace(Comment)
getParsedComment(C)

Arguments

Comment, C

a CXComment object

ChildIdx

the index of the child of interest. This is 0-based so the first element is at position 0, not 1.

Author(s)

Duncan Temple Lang

References

libclang http://clang.llvm.org/doxygen/group__CINDEX.html

See Also

Cursor_getBriefCommentText, Cursor_getParsedComment, Cursor_getRawCommentText


omegahat/RClangSimple documentation built on April 25, 2024, 4:18 a.m.