Example #1
0
/*
	Parameter Comment AST node of any kind.

	Parameter ChildIdx child index (zero-based).

	Returns the specified child of the AST node.
*/
func (c Comment) Child(childIdx uint32) Comment {
	return Comment{C.clang_Comment_getChild(c.c, C.uint(childIdx))}
}
Example #2
0
/**
 * \param Comment AST node of any kind.
 *
 * \param ChildIdx child index (zero-based).
 *
 * \returns the specified child of the AST node.
 */
func (c Comment) Child(idx int) Comment {
	return Comment{C.clang_Comment_getChild(c.c, C.unsigned(idx))}
}