class CursorKind(BaseEnumeration)
| A CursorKind describes the kind of entity that a cursor points to.
|
| Method resolution order:
| CursorKind
| BaseEnumeration
| __builtin__.object
|
| Methods defined here:
|
| __repr__(self)
|
| is_attribute(self)
| Test if this is an attribute kind.
|
| is_declaration(self)
| Test if this is a declaration kind.
|
| is_expression(self)
| Test if this is an expression kind.
|
| is_invalid(self)
| Test if this is an invalid kind.
|
| is_preprocessing(self)
| Test if this is a preprocessing kind.
|
| is_reference(self)
| Test if this is a reference kind.
|
| is_statement(self)
| Test if this is a statement kind.
|
| is_translation_unit(self)
| Test if this is a translation unit kind.
|
| is_unexposed(self)
| Test if this is an unexposed kind.
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| get_all_kinds()
| Return all CursorKind enumeration instances.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| ADDR_LABEL_EXPR = CursorKind.ADDR_LABEL_EXPR
|
| ANNOTATE_ATTR = CursorKind.ANNOTATE_ATTR
|
| ARRAY_SUBSCRIPT_EXPR = CursorKind.ARRAY_SUBSCRIPT_EXPR
|
| ASM_LABEL_ATTR = CursorKind.ASM_LABEL_ATTR
|
| ASM_STMT = CursorKind.ASM_STMT
|
| BINARY_OPERATOR = CursorKind.BINARY_OPERATOR
|
| BLOCK_EXPR = CursorKind.BLOCK_EXPR
|
| BREAK_STMT = CursorKind.BREAK_STMT
|
| CALL_EXPR = CursorKind.CALL_EXPR
|
| CASE_STMT = CursorKind.CASE_STMT
|
| CHARACTER_LITERAL = CursorKind.CHARACTER_LITERAL
|
| CLASS_DECL = CursorKind.CLASS_DECL
|
| CLASS_TEMPLATE = CursorKind.CLASS_TEMPLATE
|
| CLASS_TEMPLATE_PARTIAL_SPECIALIZATION = CursorKind.CLASS_TEMPLATE_PART...
|
| COMPOUND_ASSIGNMENT_OPERATOR = CursorKind.COMPOUND_ASSIGNMENT_OPERATOR
|
| COMPOUND_LITERAL_EXPR = CursorKind.COMPOUND_LITERAL_EXPR
|
| COMPOUND_STMT = CursorKind.COMPOUND_STMT
|
| CONDITIONAL_OPERATOR = CursorKind.CONDITIONAL_OPERATOR
|
| CONSTRUCTOR = CursorKind.CONSTRUCTOR
|
| CONST_ATTR = CursorKind.CONST_ATTR
|
| CONTINUE_STMT = CursorKind.CONTINUE_STMT
|
| CONVERSION_FUNCTION = CursorKind.CONVERSION_FUNCTION
|
| CSTYLE_CAST_EXPR = CursorKind.CSTYLE_CAST_EXPR
|
| CUDACONSTANT_ATTR = CursorKind.CUDACONSTANT_ATTR
|
| CUDADEVICE_ATTR = CursorKind.CUDADEVICE_ATTR
|
| CUDAGLOBAL_ATTR = CursorKind.CUDAGLOBAL_ATTR
|
| CUDAHOST_ATTR = CursorKind.CUDAHOST_ATTR
|
| CUDASHARED_ATTR = CursorKind.CUDASHARED_ATTR
|
| CXX_ACCESS_SPEC_DECL = CursorKind.CXX_ACCESS_SPEC_DECL
|
| CXX_BASE_SPECIFIER = CursorKind.CXX_BASE_SPECIFIER
|
| CXX_BOOL_LITERAL_EXPR = CursorKind.CXX_BOOL_LITERAL_EXPR
|
| CXX_CATCH_STMT = CursorKind.CXX_CATCH_STMT
|
| CXX_CONST_CAST_EXPR = CursorKind.CXX_CONST_CAST_EXPR
|
| CXX_DELETE_EXPR = CursorKind.CXX_DELETE_EXPR
|
| CXX_DYNAMIC_CAST_EXPR = CursorKind.CXX_DYNAMIC_CAST_EXPR
|
| CXX_FINAL_ATTR = CursorKind.CXX_FINAL_ATTR
|
| CXX_FOR_RANGE_STMT = CursorKind.CXX_FOR_RANGE_STMT
|
| CXX_FUNCTIONAL_CAST_EXPR = CursorKind.CXX_FUNCTIONAL_CAST_EXPR
|
| CXX_METHOD = CursorKind.CXX_METHOD
|
| CXX_NEW_EXPR = CursorKind.CXX_NEW_EXPR
|
| CXX_NULL_PTR_LITERAL_EXPR = CursorKind.CXX_NULL_PTR_LITERAL_EXPR
|
| CXX_OVERRIDE_ATTR = CursorKind.CXX_OVERRIDE_ATTR
|
| CXX_REINTERPRET_CAST_EXPR = CursorKind.CXX_REINTERPRET_CAST_EXPR
|
| CXX_STATIC_CAST_EXPR = CursorKind.CXX_STATIC_CAST_EXPR
|
| CXX_THIS_EXPR = CursorKind.CXX_THIS_EXPR
|
| CXX_THROW_EXPR = CursorKind.CXX_THROW_EXPR
|
| CXX_TRY_STMT = CursorKind.CXX_TRY_STMT
|
| CXX_TYPEID_EXPR = CursorKind.CXX_TYPEID_EXPR
|
| CXX_UNARY_EXPR = CursorKind.CXX_UNARY_EXPR
|
| DECL_REF_EXPR = CursorKind.DECL_REF_EXPR
|
| DECL_STMT = CursorKind.DECL_STMT
|
| DEFAULT_STMT = CursorKind.DEFAULT_STMT
|
| DESTRUCTOR = CursorKind.DESTRUCTOR
|
| DLLEXPORT_ATTR = CursorKind.DLLEXPORT_ATTR
|
| DLLIMPORT_ATTR = CursorKind.DLLIMPORT_ATTR
|
| DO_STMT = CursorKind.DO_STMT
|
| ENUM_CONSTANT_DECL = CursorKind.ENUM_CONSTANT_DECL
|
| ENUM_DECL = CursorKind.ENUM_DECL
|
| FIELD_DECL = CursorKind.FIELD_DECL
|
| FLOATING_LITERAL = CursorKind.FLOATING_LITERAL
|
| FOR_STMT = CursorKind.FOR_STMT
|
| FUNCTION_DECL = CursorKind.FUNCTION_DECL
|
| FUNCTION_TEMPLATE = CursorKind.FUNCTION_TEMPLATE
|
| GENERIC_SELECTION_EXPR = CursorKind.GENERIC_SELECTION_EXPR
|
| GNU_NULL_EXPR = CursorKind.GNU_NULL_EXPR
|
| GOTO_STMT = CursorKind.GOTO_STMT
|
| IB_ACTION_ATTR = CursorKind.IB_ACTION_ATTR
|
| IB_OUTLET_ATTR = CursorKind.IB_OUTLET_ATTR
|
| IB_OUTLET_COLLECTION_ATTR = CursorKind.IB_OUTLET_COLLECTION_ATTR
|
| IF_STMT = CursorKind.IF_STMT
|
| IMAGINARY_LITERAL = CursorKind.IMAGINARY_LITERAL
|
| INCLUSION_DIRECTIVE = CursorKind.INCLUSION_DIRECTIVE
|
| INDIRECT_GOTO_STMT = CursorKind.INDIRECT_GOTO_STMT
|
| INIT_LIST_EXPR = CursorKind.INIT_LIST_EXPR
|
| INTEGER_LITERAL = CursorKind.INTEGER_LITERAL
|
| INVALID_CODE = CursorKind.INVALID_CODE
|
| INVALID_FILE = CursorKind.INVALID_FILE
|
| LABEL_REF = CursorKind.LABEL_REF
|
| LABEL_STMT = CursorKind.LABEL_STMT
|
| LAMBDA_EXPR = CursorKind.LAMBDA_EXPR
|
| LINKAGE_SPEC = CursorKind.LINKAGE_SPEC
|
| MACRO_DEFINITION = CursorKind.MACRO_DEFINITION
|
| MACRO_INSTANTIATION = CursorKind.MACRO_INSTANTIATION
|
| MEMBER_REF = CursorKind.MEMBER_REF
|
| MEMBER_REF_EXPR = CursorKind.MEMBER_REF_EXPR
|
| MODULE_IMPORT_DECL = CursorKind.MODULE_IMPORT_DECL
|
| MS_ASM_STMT = CursorKind.MS_ASM_STMT
|
| NAMESPACE = CursorKind.NAMESPACE
|
| NAMESPACE_ALIAS = CursorKind.NAMESPACE_ALIAS
|
| NAMESPACE_REF = CursorKind.NAMESPACE_REF
|
| NODUPLICATE_ATTR = CursorKind.NODUPLICATE_ATTR
|
| NOT_IMPLEMENTED = CursorKind.NOT_IMPLEMENTED
|
| NO_DECL_FOUND = CursorKind.NO_DECL_FOUND
|
| NULL_STMT = CursorKind.NULL_STMT
|
| OBJC_AT_CATCH_STMT = CursorKind.OBJC_AT_CATCH_STMT
|
| OBJC_AT_FINALLY_STMT = CursorKind.OBJC_AT_FINALLY_STMT
|
| OBJC_AT_SYNCHRONIZED_STMT = CursorKind.OBJC_AT_SYNCHRONIZED_STMT
|
| OBJC_AT_THROW_STMT = CursorKind.OBJC_AT_THROW_STMT
|
| OBJC_AT_TRY_STMT = CursorKind.OBJC_AT_TRY_STMT
|
| OBJC_AUTORELEASE_POOL_STMT = CursorKind.OBJC_AUTORELEASE_POOL_STMT
|
| OBJC_BRIDGE_CAST_EXPR = CursorKind.OBJC_BRIDGE_CAST_EXPR
|
| OBJC_CATEGORY_DECL = CursorKind.OBJC_CATEGORY_DECL
|
| OBJC_CATEGORY_IMPL_DECL = CursorKind.OBJC_CATEGORY_IMPL_DECL
|
| OBJC_CLASS_METHOD_DECL = CursorKind.OBJC_CLASS_METHOD_DECL
|
| OBJC_CLASS_REF = CursorKind.OBJC_CLASS_REF
|
| OBJC_DYNAMIC_DECL = CursorKind.OBJC_DYNAMIC_DECL
|
| OBJC_ENCODE_EXPR = CursorKind.OBJC_ENCODE_EXPR
|
| OBJC_FOR_COLLECTION_STMT = CursorKind.OBJC_FOR_COLLECTION_STMT
|
| OBJC_IMPLEMENTATION_DECL = CursorKind.OBJC_IMPLEMENTATION_DECL
|
| OBJC_INSTANCE_METHOD_DECL = CursorKind.OBJC_INSTANCE_METHOD_DECL
|
| OBJC_INTERFACE_DECL = CursorKind.OBJC_INTERFACE_DECL
|
| OBJC_IVAR_DECL = CursorKind.OBJC_IVAR_DECL
|
| OBJC_MESSAGE_EXPR = CursorKind.OBJC_MESSAGE_EXPR
|
| OBJC_PROPERTY_DECL = CursorKind.OBJC_PROPERTY_DECL
|
| OBJC_PROTOCOL_DECL = CursorKind.OBJC_PROTOCOL_DECL
|
| OBJC_PROTOCOL_EXPR = CursorKind.OBJC_PROTOCOL_EXPR
|
| OBJC_PROTOCOL_REF = CursorKind.OBJC_PROTOCOL_REF
|
| OBJC_SELECTOR_EXPR = CursorKind.OBJC_SELECTOR_EXPR
|
| OBJC_STRING_LITERAL = CursorKind.OBJC_STRING_LITERAL
|
| OBJC_SUPER_CLASS_REF = CursorKind.OBJC_SUPER_CLASS_REF
|
| OBJC_SYNTHESIZE_DECL = CursorKind.OBJC_SYNTHESIZE_DECL
|
| OBJ_BOOL_LITERAL_EXPR = CursorKind.OBJ_BOOL_LITERAL_EXPR
|
| OBJ_SELF_EXPR = CursorKind.OBJ_SELF_EXPR
|
| OVERLOADED_DECL_REF = CursorKind.OVERLOADED_DECL_REF
|
| PACKED_ATTR = CursorKind.PACKED_ATTR
|
| PACK_EXPANSION_EXPR = CursorKind.PACK_EXPANSION_EXPR
|
| PAREN_EXPR = CursorKind.PAREN_EXPR
|
| PARM_DECL = CursorKind.PARM_DECL
|
| PREPROCESSING_DIRECTIVE = CursorKind.PREPROCESSING_DIRECTIVE
|
| PURE_ATTR = CursorKind.PURE_ATTR
|
| RETURN_STMT = CursorKind.RETURN_STMT
|
| SEH_EXCEPT_STMT = CursorKind.SEH_EXCEPT_STMT
|
| SEH_FINALLY_STMT = CursorKind.SEH_FINALLY_STMT
|
| SEH_TRY_STMT = CursorKind.SEH_TRY_STMT
|
| SIZE_OF_PACK_EXPR = CursorKind.SIZE_OF_PACK_EXPR
|
| STRING_LITERAL = CursorKind.STRING_LITERAL
|
| STRUCT_DECL = CursorKind.STRUCT_DECL
|
| SWITCH_STMT = CursorKind.SWITCH_STMT
|
| StmtExpr = CursorKind.StmtExpr
|
| TEMPLATE_NON_TYPE_PARAMETER = CursorKind.TEMPLATE_NON_TYPE_PARAMETER
|
| TEMPLATE_REF = CursorKind.TEMPLATE_REF
|
| TEMPLATE_TEMPLATE_PARAMETER = CursorKind.TEMPLATE_TEMPLATE_PARAMETER
|
| TEMPLATE_TYPE_PARAMETER = CursorKind.TEMPLATE_TYPE_PARAMETER
|
| TRANSLATION_UNIT = CursorKind.TRANSLATION_UNIT
|
| TYPEDEF_DECL = CursorKind.TYPEDEF_DECL
|
| TYPE_ALIAS_DECL = CursorKind.TYPE_ALIAS_DECL
|
| TYPE_ALIAS_TEMPLATE_DECL = CursorKind.TYPE_ALIAS_TEMPLATE_DECL
|
| TYPE_REF = CursorKind.TYPE_REF
|
| UNARY_OPERATOR = CursorKind.UNARY_OPERATOR
|
| UNEXPOSED_ATTR = CursorKind.UNEXPOSED_ATTR
|
| UNEXPOSED_DECL = CursorKind.UNEXPOSED_DECL
|
| UNEXPOSED_EXPR = CursorKind.UNEXPOSED_EXPR
|
| UNEXPOSED_STMT = CursorKind.UNEXPOSED_STMT
|
| UNION_DECL = CursorKind.UNION_DECL
|
| USING_DECLARATION = CursorKind.USING_DECLARATION
|
| USING_DIRECTIVE = CursorKind.USING_DIRECTIVE
|
| VARIABLE_REF = CursorKind.VARIABLE_REF
|
| VAR_DECL = CursorKind.VAR_DECL
|
| VISIBILITY_ATTR = CursorKind.VISIBILITY_ATTR
|
| WHILE_STMT = CursorKind.WHILE_STMT
|
| ----------------------------------------------------------------------
| Methods inherited from BaseEnumeration:
|
| __init__(self, value)
|
| from_param(self)
|
| ----------------------------------------------------------------------
| Class methods inherited from BaseEnumeration:
|
| from_id(cls, id) from __builtin__.type
|
| ----------------------------------------------------------------------
| Data descriptors inherited from BaseEnumeration:
Language/python