Files
openide/python/testData/psi/AsyncDef.py
Andrey Vlasovskikh d616d70c50 Parse and highlight the 'async' keyword (PY-16094)
We had to switch to stack-based parsing contexts in order to be able
to use context-sensitive token filtering for 'async'.

Also this commit fixes the highlighting annotator issue with blinking
names of the functions and blinking 'async'.
2015-09-06 20:04:50 +03:00

16 lines
157 B
Python

async def foo(x, y):
pass
async def foo_nested():
pass
async = 10
def bar():
print(async)
async def bar_nested():
pass