meson/mesonbuild/interpreterbase
Peter Lesslie d771fc7d0b Add support for multiline f-strings
+ Extend the parser to recognize the multiline f-strings, which the
documentation already implies will work.

The syntax is like:
```
x = 'hello'
y = 'world'

msg = f'''This is a multiline string.

Sending a message: '@x@ @y@'
'''
```

which produces:
```
This is a multiline string.

Sending a message: 'hello world'

```

+ Added some f-string tests cases to "62 string arithmetic" to exercise
the new behavior.
2022-05-01 12:47:37 -04:00
..
__init__.py FeatureNew: add mypy type annotations for subproject arg 2022-02-14 20:40:41 -05:00
_unholder.py interpreter: Holderify arrays and dicts 2021-10-06 22:37:18 +02:00
baseobjects.py merge various TYPE_CHECKING blocks into one 2022-03-07 19:01:04 -05:00
decorators.py move a bunch of imports into TYPE_CHECKING blocks 2022-03-07 19:09:50 -05:00
disabler.py move a bunch of imports into TYPE_CHECKING blocks 2022-03-07 19:09:50 -05:00
exceptions.py interpreter: Split exception calsses from interpreterbase.py 2021-06-11 10:42:18 +02:00
helpers.py Remove helpers.check_stringlist() 2021-09-25 12:44:11 +02:00
interpreterbase.py Add support for multiline f-strings 2022-05-01 12:47:37 -04:00
operator.py Fix typos discovered by codespell 2021-10-10 16:12:25 -04:00