Skip to content

feature: operator of binary_operator #328

@jecisc

Description

@jecisc

Did you check the tree-sitter docs?

Is your feature request related to a problem? Please describe.

I tried to parse 1 + 1 with the parser and this produces a node with two integer child (one in the field left and one in the field right). But there is no info on the operator.

Describe the solution you'd like

I think it might be nice to add a field operator containing the + operator.

Any idea about this?

Describe alternatives you've considered

See above

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions