Mercurial > minori
comparison dep/pugixml/scripts/natvis/pugixml.natvis @ 55:d10b6c6b432e
add xml lib, we will need to use it eventually
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Tue, 26 Sep 2023 12:37:08 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 54:466ac9870df9 | 55:d10b6c6b432e |
|---|---|
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> | |
| 3 <Type Name="pugi::xml_node"> | |
| 4 <DisplayString Condition="_root">{_root}</DisplayString> | |
| 5 <DisplayString Condition="!_root">none</DisplayString> | |
| 6 <Expand> | |
| 7 <ExpandedItem Condition="_root">_root</ExpandedItem> | |
| 8 </Expand> | |
| 9 </Type> | |
| 10 | |
| 11 <Type Name="pugi::xml_node_struct"> | |
| 12 <DisplayString Condition="name && value">{(pugi::xml_node_type)(header & 0xf),en} name={name,na} value={value,na}</DisplayString> | |
| 13 <DisplayString Condition="name">{(pugi::xml_node_type)(header & 0xf),en} name={name,na}</DisplayString> | |
| 14 <DisplayString Condition="value">{(pugi::xml_node_type)(header & 0xf),en} value={value,na}</DisplayString> | |
| 15 <DisplayString>{(pugi::xml_node_type)(header & 0xf),en}</DisplayString> | |
| 16 <Expand> | |
| 17 <Item Name="value" Condition="value">value,na</Item> | |
| 18 <Synthetic Name="attributes" Condition="first_attribute"> | |
| 19 <Expand> | |
| 20 <CustomListItems> | |
| 21 <Variable Name="curr" InitialValue="first_attribute" /> | |
| 22 | |
| 23 <Loop Condition="curr"> | |
| 24 <Item Name="{curr->name,na}">curr,view(child)na</Item> | |
| 25 <Exec>curr = curr->next_attribute</Exec> | |
| 26 </Loop> | |
| 27 </CustomListItems> | |
| 28 </Expand> | |
| 29 </Synthetic> | |
| 30 <LinkedListItems> | |
| 31 <HeadPointer>first_child</HeadPointer> | |
| 32 <NextPointer>next_sibling</NextPointer> | |
| 33 <ValueNode>this,na</ValueNode> | |
| 34 </LinkedListItems> | |
| 35 </Expand> | |
| 36 </Type> | |
| 37 | |
| 38 <Type Name="pugi::xml_attribute"> | |
| 39 <DisplayString Condition="_attr">{_attr}</DisplayString> | |
| 40 <DisplayString Condition="!_attr">none</DisplayString> | |
| 41 <Expand> | |
| 42 <ExpandedItem Condition="_attr">_attr</ExpandedItem> | |
| 43 </Expand> | |
| 44 </Type> | |
| 45 | |
| 46 <Type Name="pugi::xml_attribute_struct"> | |
| 47 <DisplayString ExcludeView="child">{name,na} = {value,na}</DisplayString> | |
| 48 <DisplayString>{value,na}</DisplayString> | |
| 49 <Expand> | |
| 50 <Item Name="name">name,na</Item> | |
| 51 <Item Name="value">value,na</Item> | |
| 52 </Expand> | |
| 53 </Type> | |
| 54 | |
| 55 <Type Name="pugi::xpath_node"> | |
| 56 <DisplayString Condition="_node._root && _attribute._attr">{_node,na} "{_attribute._attr->name,na}"="{_attribute._attr->value,na}"</DisplayString> | |
| 57 <DisplayString Condition="_node._root">{_node,na}</DisplayString> | |
| 58 <DisplayString Condition="_attribute._attr">{_attribute}</DisplayString> | |
| 59 <DisplayString>empty</DisplayString> | |
| 60 <Expand HideRawView="1"> | |
| 61 <ExpandedItem Condition="_node._root && !_attribute._attr">_node</ExpandedItem> | |
| 62 <ExpandedItem Condition="!_node._root && _attribute._attr">_attribute</ExpandedItem> | |
| 63 <Item Name="node" Condition="_node._root && _attribute._attr">_node,na</Item> | |
| 64 <Item Name="attribute" Condition="_node._root && _attribute._attr">_attribute,na</Item> | |
| 65 </Expand> | |
| 66 </Type> | |
| 67 | |
| 68 <Type Name="pugi::xpath_node_set"> | |
| 69 <Expand> | |
| 70 <Item Name="type">_type</Item> | |
| 71 <ArrayItems> | |
| 72 <Size>_end - _begin</Size> | |
| 73 <ValuePointer>_begin</ValuePointer> | |
| 74 </ArrayItems> | |
| 75 </Expand> | |
| 76 </Type> | |
| 77 </AutoVisualizer> |
