Charles Brunet
02ff9553db
parser: add SymbolNode to preserve operators
1 year ago
Charles Brunet
f13260dd43
parser: add ElseNode
1 year ago
Charles Brunet
8d357ba62c
parser: use IdNode for foreach varnames
1 year ago
Charles Brunet
306562b466
parser: use IdNode for function name and assignment name
1 year ago
Charles Brunet
35936283d2
parser: preserve escape chars in strings
...
use separate Node for multiline strings
1 year ago
JCWasmx86
79ed2415e9
Add ParenthesizedNode
1 year ago
Eli Schwartz
0703ee0aef
move various unused typing-only imports into type-checking blocks
2 years ago
Daniel Mensinger
bf41d56597
ast: Add dummy "support" for fstrings in the ast package
3 years ago
Daniel Mensinger
3489442848
typing: completely type ast
4 years ago
Daniel Mensinger
96eeef62ea
ast: Add AST JSON printer
5 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Daniel Mensinger
d67888bf9b
types: Remove redundant __init__() -> None annotation
5 years ago
Daniel Mensinger
a75255bc4c
types: Annotate the AST visitors
5 years ago
Daniel Mensinger
35b4ae5d61
ast: printer fix index node printing
6 years ago
Daniel Mensinger
2b5831f94f
Fix flake8-bugbear warnings
6 years ago
Daniel Mensinger
277dc10a5d
AST post processing
6 years ago
Daniel Mensinger
ccad493e85
Basic AST visitor pattern
6 years ago