aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/compiler.py
AgeCommit message (Collapse)AuthorFilesLines
2021-08-16interpreter/compiler: make helper methods protectedDylan Baker1-29/+29
2021-08-16interpreter/compiler: Add type checking for the Compiler objectDylan Baker1-394/+347
This adds a full set of `typed_pos_args` and `typed_kwarg` decorations, as well as fixing all of the typing errors reported by mypy.
2021-08-16interpreter/compiler: Add type annotations to TryRunResultHolderDylan Baker1-4/+4
2021-08-16interpreter/compiler: remove unittest_args methodDylan Baker1-16/+3
It's not documented, and it's been marked deprecated for who knows how long.
2021-08-16interpreter/compiler: Replace permittedKwargs({}) with noKwargsDylan Baker1-19/+19
The former isn't really correct, as it wants a set and is getting a dict, the other is also conceptually clearer I think.
2021-06-22interpreter: Replace manual kwarg validation in ↵Laurin-Luis Lehning1-6/+7
compiler.get_supported_arguments with @typed_kwargs
2021-06-21interpreter: Move argument checks from add_*_arguments to ↵Laurin-Luis Lehning1-3/+16
compiler.get_supported_arguments
2021-06-18holders: Fix the remaining code to respect the holder changesDaniel Mensinger1-14/+14
2021-06-18interpreter: Refactor interpreter.compiler to use ObjectHolderDaniel Mensinger1-15/+20
2021-04-01interpreter: Move to its own folder and split itXavier Claessens1-0/+766