aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreterbase/helpers.py
AgeCommit message (Collapse)AuthorFilesLines
2024-05-23Refactor option classes to their own file.Jussi Pakkanen1-1/+1
2024-04-08parser: revert to single StringNode typeCharles Brunet1-2/+2
this will allow transforming string types in the formater
2023-12-13Use SPDX-License-Identifier consistentlyDylan Baker1-11/+1
This replaces all of the Apache blurbs at the start of each file with an `# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing uses to be consistent in capitalization, and to be placed above any copyright notices. This removes nearly 3000 lines of boilerplate from the project (only python files), which no developer cares to look at. SPDX is in common use, particularly in the Linux kernel, and is the recommended format for Meson's own `project(license: )` field
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