-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathQRegular.natvis
32 lines (27 loc) · 1.15 KB
/
QRegular.natvis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="QRegularExpression">
<DisplayString>{*(Qt5Cored.dll!QRegularExpressionPrivate*)(d.d)}</DisplayString>
<Expand>
<ExpandedItem>*(Qt5Cored.dll!QRegularExpressionPrivate*)(d.d)</ExpandedItem>
</Expand>
</Type>
<Type Name="QRegularExpressionPrivate">
<DisplayString ModuleName="Qt5Cored.dll">{pattern}</DisplayString>
</Type>
<Type Name="QRegularExpressionMatch">
<DisplayString>{*(Qt5Cored.dll!QRegularExpressionMatchPrivate*)(d.d)}</DisplayString>
<Expand>
<ExpandedItem>*(Qt5Cored.dll!QRegularExpressionMatchPrivate*)(d.d)</ExpandedItem>
</Expand>
</Type>
<Type Name="QRegularExpressionMatchPrivate">
<DisplayString ModuleName="Qt5Cored.dll">{matchType}</DisplayString>
<Expand>
<IndexListItems Condition="hasMatch">
<Size>capturedCount</Size>
<ValueNode>&subject[capturedOffsets[$i*2]],[capturedOffsets[$i*2+1]-capturedOffsets[$i*2]]sub</ValueNode>
</IndexListItems>
</Expand>
</Type>
</AutoVisualizer>