-
Notifications
You must be signed in to change notification settings - Fork 1
/
moeCompiler.natvis
147 lines (139 loc) · 6.34 KB
/
moeCompiler.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="EWC::CString">
<DisplayString>{{ {m_pCoz,s} }}</DisplayString>
<Expand>
<Item Name="m_pCoz">m_pCoz</Item>
<Item Name="m_shash">m_shash</Item>
</Expand>
</Type>
<Type Name="STypeInfoInteger">
<DisplayString Condition="m_fIsSigned == true">{{ s{m_cBit} }}</DisplayString>
<DisplayString Condition="m_fIsSigned == false">{{ u{m_cBit} }}</DisplayString>
</Type>
<Type Name="STypeInfoFloat">
<DisplayString>{{ f{m_cBit} }}</DisplayString>
</Type>
<Type Name="STypeInfoPointer">
<DisplayString>{{ pTinPointedTo={m_pTinPointedTo} }}</DisplayString>
</Type>
<Type Name="STypeInfoProcedure">
<DisplayString Condition="m_strDebug.m_pCoz==nullptr||m_strDebug.m_pCoz[0]==0">{{ proc={m_strName.m_pCoz,s} }}</DisplayString>
<DisplayString Condition="m_strDebug.m_pCoz!=nullptr&&m_strDebug.m_pCoz[0]!=0">{{ proc={m_strDebug.m_pCoz,s} }}</DisplayString>
</Type>
<Type Name="STypeInfoStruct">
<DisplayString Condition="m_strDebug.m_pCoz==nullptr||m_strDebug.m_pCoz[0]==0">{{ proc={m_strName.m_pCoz,s} cField={m_aryTypemembField.m_c} }}</DisplayString>
<DisplayString Condition="m_strDebug.m_pCoz!=nullptr&&m_strDebug.m_pCoz[0]!=0">{{ proc={m_strDebug.m_pCoz,s} cField={m_aryTypemembField.m_c} }}</DisplayString>
</Type>
<Type Name="STypeInfoArray">
<DisplayString>{{ m_aryk={m_aryk} m_pTin={m_pTin} }}</DisplayString>
</Type>
<Type Name="STypeInfoQualifier">
<DisplayString>{{ qualk={m_qualk} }}</DisplayString>
</Type>
<Type Name="STypeInfoGeneric">
<DisplayString>{{ name={m_strName.m_pCoz,s} }}</DisplayString>
</Type>
<Type Name="STypeInfoLiteral">
</Type>
<Type Name="STypeInfo">
<DisplayString>{{ {m_strName.m_pCoz,s} tink={m_tink} }}</DisplayString>
<Expand>
<Item Name="pTinint" Condition="m_tink == 0">(STypeInfoInteger*)this</Item>
<Item Name="pTinfloat" Condition="m_tink == 1">(STypeInfoFloat*)this</Item>
<Item Name="pTinptr" Condition="m_tink == 3">(STypeInfoPointer*)this</Item>
<Item Name="pTinproc" Condition="m_tink == 4">(STypeInfoProcedure*)this</Item>
<Item Name="pTinstruct" Condition="m_tink == 6">(STypeInfoStruct*)this</Item>
<Item Name="pTinary" Condition="m_tink == 7">(STypeInfoArray*)this</Item>
<Item Name="pTinqual" Condition="m_tink == 11">(STypeInfoQualifier*)this</Item>
<Item Name="pTingen" Condition="m_tink == 15">(STypeInfoLiteral*)this</Item>
<Item Name="pTingen" Condition="m_tink == 16">(STypeInfoGeneric*)this</Item>
<Item Name="m_tink">m_tink</Item>
<Item Name="m_strName">m_strName</Item>
<Item Name="m_strDebug">m_strDebug</Item>
<Item Name="m_grftin">m_grftin</Item>
</Expand>
</Type>
<Type Name="SSymbol">
<DisplayString>{{ name={m_strName.m_pCoz,s} m_grfsym={m_grfsym}}}</DisplayString>
</Type>
<Type Name="SSymbolPath">
<DisplayString>{{ pSymTail={m_arypSym.m_a[m_arypSym.m_c]->m_strName} }}</DisplayString>
</Type>
<Type Name="SSymbolBase">
<DisplayString>{{ m_symk={m_symk} }}</DisplayString>
<Expand>
<Item Name="pSym" Condition="m_symk == 0">(SSymbol*)this</Item>
<Item Name="pSympath" Condition="m_symk == 1">(SSymbolPath*)this</Item>
</Expand>
</Type>
<Type Name="CSTNode">
<DisplayString Condition="m_pSymbase!=nullptr&&m_pSymbase->m_symk==SYMK_Symbol">{{ sym={((SSymbol*)m_pSymbase)->m_strName.m_pCoz,s} park={m_park} }}</DisplayString>
</Type>
<Type Name="CSTProcedure">
<DisplayString>{{ pTinproc={m_pTinproc} }}</DisplayString>
</Type>
<Type Name="CSTFor">
</Type>
<Type Name="CSTDecl">
</Type>
<Type Name="CSTEnum">
<DisplayString>{{ cConstant={m_cConstantExplicit} }}</DisplayString>
</Type>
<Type Name="CSTStruct">
</Type>
<Type Name="SSyntaxTreeMap">
<DisplayString>{{ m_stmapk={m_stmapk} }}</DisplayString>
<Expand>
<Item Name="pStproc" Condition="m_stmapk == 0">(CSTProcedure*)this</Item>
<Item Name="pStfor" Condition="m_stmapk == 1">(CSTFor*)this</Item>
<Item Name="pStdecl" Condition="m_stmapk == 2">(CSTDecl*)this</Item>
<Item Name="pStenum" Condition="m_stmapk == 3">(CSTEnum*)this</Item>
<Item Name="pStstruct" Condition="m_stmapk == 4">(CSTStruct*)this</Item>
</Expand>
</Type>
<Type Name="CSTValue">
<DisplayString Condition="m_stvalk==0">{{ m_g={m_g} }}</DisplayString>
<DisplayString Condition="m_stvalk==1">{{ m_nSigned={m_nSigned} }}</DisplayString>
<DisplayString Condition="m_stvalk==2">{{ m_nUnsigned={m_nUnsigned} }}</DisplayString>
<DisplayString Condition="m_stvalk==3">{{ m_str={m_str.m_pCoz,s} }}</DisplayString>
<DisplayString Condition="m_stvalk==4">{{ m_rword={m_rword} }}</DisplayString>
</Type>
<Type Name="SAnchor">
<DisplayString Condition="m_pStnodBaked!=nullptr">{{ m_pStnodBaked={m_pStnodBaked} }}</DisplayString>
<DisplayString Condition="m_pTin!=nullptr">{{ m_pTin={m_pTin} }}</DisplayString>
<DisplayString Condition="m_pTin==nullptr && m_pStnodBaked==nullptr">{{ null anchor {m_genk}}}</DisplayString>
</Type>
<Type Name="SGenericMap">
<DisplayString>{{ {m_strName.m_pCoz,s} count={m_mpStrAnc.m_cUsed} }}</DisplayString>
</Type>
<Type Name="EWC::CAry<*>">
<DisplayString>{{m_c = {m_c}}}</DisplayString>
<Expand>
<Item Name="[size]">m_c</Item>
<Item Name="[capacity]">m_cMax</Item>
<ArrayItems>
<Size>m_c</Size>
<ValuePointer>m_a</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="EWC::CHash<*,*,*>::SEntry">
<DisplayString>{{m_key={m_key} m_value={m_value}}}</DisplayString>
</Type>
<Type Name="EWC::CHash<*,*,*>">
<DisplayString>{{m_cUsed = {m_cUsed}}}</DisplayString>
<Expand>
<CustomListItems MaxItemsPerView="5000" ExcludeView="Test">
<Variable Name="pEntry" InitialValue="m_aEntry" />
<Size>m_cUsed</Size>
<Loop>
<If Condition="pEntry->m_hv != 0xFFFFFFFF && pEntry->m_hv != 0xFFFFFFFE">
<Item>*pEntry</Item>
</If>
<Exec>++pEntry</Exec>
</Loop>
</CustomListItems>
</Expand>
</Type>
</AutoVisualizer>