Closed nordlow closed 1 month ago
Ahh, I see now that this behaviour conforms with how decorators in Python's tree-sitter parser behaves like for instance for @decorator
in
def decorator(func):
def wrapper():
print("Something is happening before the function is called.")
func()
print("Something is happening after the function is called.")
return wrapper
@decorator
def say_whee():
print("Whee!")
. Closing this for now.
Currently
@property
inis currently parsed as two separate tokens
and
when I believe it should be parsed as a single token
or
.