issues
search
t3rn0
/
ast-comments
Extension to the built-in ast module. Finds comments in source code and adds them to the parsed tree.
MIT License
31
stars
10
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
New algorithm inspired by original code with inline comments in fields
#29
kapulkin
opened
8 months ago
4
make Comment attributes lineno, col_offset, end_lineno, end_col_offset printable
#28
kapulkin
closed
8 months ago
2
Add license
#27
zmievsa
closed
11 months ago
0
make parse's output compilable - switch base class to ast.Pass
#26
wahuneke
closed
1 year ago
2
fix: ignore empty lines when searching for not-comment line
#25
t3rn0
closed
1 year ago
1
feature request: collapse multiple consecutive comments into single 'multiline' comment via some predicate
#24
wahuneke
closed
1 year ago
1
ast_comments parse output cannot be `compile()`d
#23
wahuneke
closed
1 year ago
9
Imports from `typing` eclypse imports from AST
#22
dvarrazzo
closed
1 year ago
2
Misplaced inline comment in ast-comments 1.1.1
#21
dvarrazzo
closed
1 year ago
2
Fixed taking the correct interval and placing them into the correct position
#20
Marc-Goritschnig
closed
1 year ago
3
Add get_source_segment and support trailing comments in functions
#19
devdanzin
closed
1 year ago
2
Preserving blank lines?
#18
dvarrazzo
closed
1 year ago
5
fix: make inlined comments not overlap
#17
t3rn0
closed
1 year ago
0
Break docstring if comment is above it
#16
hovi
closed
1 year ago
1
Comments preserve the indentation structure.
#15
gvariable
closed
1 year ago
3
make inline comments stay inline
#14
jvllmr
closed
1 year ago
1
comments between multilined parenthesis
#13
t3rn0
opened
1 year ago
0
fix(unparse): collapse nested ifs to equivalent elifs
#12
t3rn0
closed
1 year ago
0
collapse nested ifs to equivalent elifs
#11
t3rn0
closed
1 year ago
1
inlined comments
#10
t3rn0
opened
1 year ago
4
Make inline comments stay inline
#9
jvllmr
closed
1 year ago
1
unparse tree with comments
#8
t3rn0
closed
1 year ago
0
Add support for docstrings
#7
ghadagd
closed
1 year ago
3
round trip (unparse) back to code?
#6
rrhg
closed
1 year ago
17
fix: put comments to every statement in line
#5
t3rn0
closed
1 year ago
0
Comment to multiple statements in one line
#4
t3rn0
closed
1 year ago
0
fix: handle multiple statements in one line
#3
t3rn0
closed
2 years ago
0
TypeError: '<' not supported between instances of 'Assign' and 'Assign'
#2
rrhg
closed
2 years ago
3
Thanks
#1
pawamoy
closed
2 years ago
1