aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreterbase/helpers.py
AgeCommit message (Collapse)AuthorFilesLines
2023-09-11parser: preserve escape chars in stringsCharles Brunet1-2/+2
use separate Node for multiline strings
2023-08-02Unify message(), format() and fstring formattingXavier Claessens1-2/+23
Share a common function to convert objects to display strings for consistency. While at it, also add support for formatting user options.
2023-02-01treewide: add future annotations importEli Schwartz1-0/+1
2021-09-25Remove helpers.check_stringlist()Daniel Mensinger1-10/+2
2021-08-30Simplify get_callee_argsXavier Claessens1-55/+0
2021-06-26refactor: Refactor BothLibraries logicDaniel Mensinger1-1/+12
This commit introduces a new type of `HoldableObject`: The `SecondLevelHolder`. The primary purpose of this class is to handle cases where two (or more) `HoldableObject`s are stored at the same time (with one default object). The best (and currently only) example here is the `BothLibraries` class.
2021-06-18holders: Ensure that InterpreterBase is the sole instance for (un)holderifyingDaniel Mensinger1-4/+4
2021-06-11interpreter: Split base objects and helpers from interpreterbase.pyDaniel Mensinger1-0/+107