diff options
| author | Volker Weißmann <volker.weissmann@gmx.de> | 2025-03-09 16:01:30 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-05-29 09:20:27 -0700 |
| commit | cc781cabd848bc984d672738fb3d42e8d8e3e4fa (patch) | |
| tree | 8af8e608ad7bd1a5727ad880b106c87f914c63a8 /mesonbuild/ast/introspection.py | |
| parent | 75103efd9f4216084ffb5ca0bf022dede3327e37 (diff) | |
| download | meson-cc781cabd848bc984d672738fb3d42e8d8e3e4fa.tar.gz | |
Refactoring and removal of dead code
Diffstat (limited to 'mesonbuild/ast/introspection.py')
| -rw-r--r-- | mesonbuild/ast/introspection.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index f2a0c5ae0..2f1572f38 100644 --- a/mesonbuild/ast/introspection.py +++ b/mesonbuild/ast/introspection.py @@ -43,8 +43,11 @@ class IntrospectionHelper: return NotImplemented class IntrospectionInterpreter(AstInterpreter): - # Interpreter to detect the options without a build directory - # Most of the code is stolen from interpreter.Interpreter + # If you run `meson setup ...` the `Interpreter`-class walks over the AST. + # If you run `meson rewrite ...` and `meson introspect meson.build ...`, + # the `AstInterpreter`-class walks over the AST. + # Works without a build directory. + # Most of the code is stolen from interpreter.Interpreter . def __init__(self, source_root: str, subdir: str, |
