mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +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.
6 lines
26 B
Python
6 lines
26 B
Python
def foo():
|
|
pass
|
|
\
|
|
\
|
|
\
|