/** * \brief Returns the access control level for the C++ base specifier * represented by a cursor with kind CXCursor_CXXBaseSpecifier or * CXCursor_AccessSpecifier. */ func (c Cursor) AccessSpecifier() AccessSpecifier { o := C.clang_getCXXAccessSpecifier(c.c) return AccessSpecifier(o) }
/* Returns the access control level for the referenced object. If the cursor refers to a C++ declaration, its access control level within its parent scope is returned. Otherwise, if the cursor refers to a base specifier or access specifier, the specifier itself is returned. */ func (c Cursor) AccessSpecifier() AccessSpecifier { return AccessSpecifier(C.clang_getCXXAccessSpecifier(c.c)) }