Example #1
0
/**
 * \brief Determine whether the given cursor kind represents an expression.
 */
func (ck CursorKind) IsExpression() bool {
	o := C.clang_isExpression(uint32(ck))
	if o != C.uint(0) {
		return true
	}
	return false
}
Example #2
0
// Determine whether the given cursor kind represents an expression.
func (ck CursorKind) IsExpression() bool {
	o := C.clang_isExpression(C.enum_CXCursorKind(ck))

	return o != C.uint(0)
}