diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-01-11 13:55:38 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-01-15 15:43:59 +0100 |
commit | b4ffbed19625bbf468c660a6dcc35a1101b8791b (patch) | |
tree | be54b954a59a174eb68293f8276465a9ae65610b /examples/widgets | |
parent | 2b7da99972845e11fc9506b0fe2832b65d4b3ab6 (diff) |
shiboken6/Type system parser: Introduce a helper for the code snippets
Introduce a helper returning a parser state depending on the element
stack and building on that, a helper which returns the code snippet to
append to. This is used for character handling and <insert-template>.
It also allows for removing StackElement::InjectCodeInFunction,
which was a fake element for remembering that the code injection
targets a function.
Also, add all type entry code snippets directly to the type entry
instead of temporarily storing them in StackElementContext::codeSnips.
Use the latter for conversions only and rename it accordingly.
Pick-to: 6.2
Task-number: PYSIDE-1766
Change-Id: I291ec2db58687fdf63c124ddde26165f8eb09856
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/widgets')
0 files changed, 0 insertions, 0 deletions