Skip to content

Clang 16.0.1.1: Binding: Python For Curosr with kind CursorKind.BINARY_OPERATOR the spelling method of Cursor Class issue #70019

Closed
@Romisajad

Description

@Romisajad

When the cursor is pointing to any Binary Operator for example like ( + or = ).
The spelling property of the Cursor class is not working.
It is not returning the Operator. As you can see in the following screenshots that i have tried to printout the cursor.spelling but for that it returns nothing and the numbers are the location line number.
I have provided the code and the output of the problem.
img
img1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions