2020-01-04 14:21:38 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
|
|
|
2020-07-18 12:10:19 +00:00
|
|
|
<Type Name="::toml::v2::date">
|
2020-01-04 14:21:38 +00:00
|
|
|
<DisplayString>{(int)year}-{(int)month}-{(int)day}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="year" ExcludeView="simple">year</Item>
|
|
|
|
<Item Name="month" ExcludeView="simple">month</Item>
|
|
|
|
<Item Name="day" ExcludeView="simple">day</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2020-07-18 12:10:19 +00:00
|
|
|
<Type Name="::toml::v2::time">
|
2020-01-04 14:21:38 +00:00
|
|
|
<DisplayString>{(int)hour}:{(int)minute}:{second + (nanosecond / 1000000000.0)}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="hour" ExcludeView="simple">hour</Item>
|
|
|
|
<Item Name="minute" ExcludeView="simple">minute</Item>
|
|
|
|
<Item Name="second" ExcludeView="simple">second</Item>
|
|
|
|
<Item Name="nanosecond" ExcludeView="simple">nanosecond</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2020-07-18 12:10:19 +00:00
|
|
|
<Type Name="::toml::v2::time_offset">
|
2020-01-04 14:21:38 +00:00
|
|
|
<DisplayString Condition="hours >= 0 && minutes >= 0">{(int)hours}:{(int)minutes}</DisplayString>
|
|
|
|
<DisplayString Condition="hours < 0 && minutes >= 0">-{-((int)hours)}:{(int)minutes}</DisplayString>
|
|
|
|
<DisplayString Condition="hours < 0 && minutes < 0">-{-((int)hours)}:{-((int)minutes)}</DisplayString>
|
|
|
|
<DisplayString Condition="hours >= 0 && minutes < 0">-{(int)hours}:{-((int)minutes)}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="hours" ExcludeView="simple">hours</Item>
|
|
|
|
<Item Name="minutes" ExcludeView="simple">minutes</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2020-07-18 12:10:19 +00:00
|
|
|
<Type Name="::toml::v2::value<*>">
|
2020-01-04 14:21:38 +00:00
|
|
|
<DisplayString>{{ {val_} }}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="val_" ExcludeView="simple">val_</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2020-07-18 12:10:19 +00:00
|
|
|
<Type Name="::toml::v2::source_position">
|
2020-01-04 14:21:38 +00:00
|
|
|
<DisplayString>line {line}, column {column}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="line" ExcludeView="simple">line</Item>
|
|
|
|
<Item Name="column" ExcludeView="simple">column</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2020-07-18 12:10:19 +00:00
|
|
|
<Type Name="::toml::v2::impl::utf8_codepoint">
|
2020-01-04 14:21:38 +00:00
|
|
|
<DisplayString>{&bytes,s8} ({position})</DisplayString>
|
|
|
|
</Type>
|
|
|
|
|
2020-07-19 19:37:23 +00:00
|
|
|
<Type Name="::toml::table">
|
|
|
|
<DisplayString>{values}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<!-- Modified from std::map visualizer in VS 2019 stl.natvis -->
|
|
|
|
<TreeItems>
|
|
|
|
<Size>values._Mypair._Myval2._Myval2._Mysize</Size>
|
|
|
|
<HeadPointer>values._Mypair._Myval2._Myval2._Myhead->_Parent</HeadPointer>
|
|
|
|
<LeftPointer>_Left</LeftPointer>
|
|
|
|
<RightPointer>_Right</RightPointer>
|
|
|
|
<ValueNode Condition="_Isnil == 0" Name="[{_Myval.first}]">*_Myval.second</ValueNode>
|
|
|
|
</TreeItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="::toml::array">
|
|
|
|
<DisplayString>{values}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<!-- Modified from std::vector visualizer in VS 2019 stl.natvis -->
|
|
|
|
<IndexListItems>
|
|
|
|
<Size>values._Mypair._Myval2._Mylast - values._Mypair._Myval2._Myfirst</Size>
|
|
|
|
<ValueNode>*values._Mypair._Myval2._Myfirst[$i]</ValueNode>
|
|
|
|
</IndexListItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="::toml::abi_parse_noex::parse_result">
|
|
|
|
<DisplayString Condition="!is_err">{*reinterpret_cast<::toml::table*>(&storage)}</DisplayString>
|
|
|
|
<DisplayString Condition="is_err">{*reinterpret_cast<::toml::abi_sf::abi_noex::parse_error*>(&storage)}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[table]" Condition="!is_err">*reinterpret_cast<::toml::table*>(&storage)</Item>
|
|
|
|
<Item Name="[error]" Condition="is_err">*reinterpret_cast<::toml::abi_sf::abi_noex::parse_error*>(&storage)</Item>
|
|
|
|
<Item Name="is_err" ExcludeView="simple">is_err</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="::toml::abi_sf::abi_noex::parse_error">
|
|
|
|
<DisplayString>line {source_.begin.line}: {description_,sb}</DisplayString>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="::toml::abi_lf::abi_noex::parse_error">
|
|
|
|
<DisplayString>line {source_.begin.line}: {description_,sb}</DisplayString>
|
|
|
|
</Type>
|
|
|
|
|
2020-01-04 14:21:38 +00:00
|
|
|
</AutoVisualizer>
|