mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
Python lexer and parser can split whitespaces and attach them to different parents, so we have to scan backward through consequtive leaf elements to collect all of them. I also added several new tests for various such corner cases.
5 lines
26 B
Python
5 lines
26 B
Python
def foo():
|
|
pass \
|
|
\
|
|
\
|