Skip to content

Matching method call  #96

@aminya

Description

@aminya

Hi! I am coming from Atom's language-python.

We need to be able to detect a method call (the priority now) or object property access. How can we do this using tree-sitter?

import json
obj = 1234

json.dumps( )
#         ^meta.method-call.python

I have an on-going pull request which tries to do this.
atom/language-python#325

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions