mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
18 lines
339 B
Python
18 lines
339 B
Python
def func() -> None: ...
|
|
|
|
_ = func()
|
|
# ^^^^ @function.call
|
|
|
|
"{}".format(1)
|
|
# ^^^^^^ @function.method.call
|
|
|
|
class Foo:
|
|
def method(self) -> None: ...
|
|
# ^^^^ @variable.builtin
|
|
|
|
@classmethod
|
|
def clsmethod(cls) -> None: ...
|
|
# ^^^ @variable.builtin
|
|
|
|
Foo().method()
|
|
# ^^^^^^ @function.method.call
|