aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/printer.py
AgeCommit message (Collapse)AuthorFilesLines
2020-05-23ast: Add AST JSON printerDaniel Mensinger1-1/+159
2020-03-02types: Remove redundant __init__() -> None annotationDaniel Mensinger1-1/+1
2020-03-02types: Annotate the AST visitorsDaniel Mensinger1-37/+34
2020-03-02types: Annotate mparser.pyDaniel Mensinger1-5/+2
This also fixes that the keys in ArgumentNode.kwargs are all of the type BaseNode now. Before this commit, it was possible that both strings and Nodes where used as keys.
2019-12-10assert(): Make message argument optionalXavier Claessens1-2/+5
2019-06-28ast: printer fix index node printingDaniel Mensinger1-1/+2
2019-04-25ast/printer: remove useless ternaryDylan Baker1-1/+1
The ternary returns True or False from an expression that returns True or False: i.e. True if bool(value) else False.
2019-01-24Fixed style issuesDaniel Mensinger1-14/+14
2019-01-22Can now rewrite filesDaniel Mensinger1-2/+14
2019-01-22AST post processingDaniel Mensinger1-64/+45
2019-01-22Added Ast printerDaniel Mensinger1-2/+190
2019-01-22Basic AST visitor patternDaniel Mensinger1-0/+22