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">
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::date">
|
2020-07-19 23:04:33 +00:00
|
|
|
<Intrinsic Name="y" Expression="(int)year" />
|
2020-07-20 14:13:52 +00:00
|
|
|
<Intrinsic Name="m" Expression="(int)month" />
|
2020-07-19 23:04:33 +00:00
|
|
|
<Intrinsic Name="d" Expression="(int)day" />
|
2020-07-20 14:13:52 +00:00
|
|
|
<DisplayString Condition="y() < 10 && m() < 10 && d() < 10">0{y()}-0{m()}-0{d()}</DisplayString>
|
|
|
|
<DisplayString Condition="y() < 10 && m() < 10">0{y()}-0{m()}-{d()}</DisplayString>
|
|
|
|
<DisplayString Condition="y() < 10 && d() < 10">0{y()}-{m()}-0{d()}</DisplayString>
|
|
|
|
<DisplayString Condition="m() < 10 && d() < 10">{y()}-0{m()}-0{d()}</DisplayString>
|
|
|
|
<DisplayString Condition="y() < 10">0{y()}-{m()}-{d()}</DisplayString>
|
|
|
|
<DisplayString Condition="m() < 10">{y()}-0{m()}-{d()}</DisplayString>
|
|
|
|
<DisplayString Condition="d() < 10">{y()}-{m()}-0{d()}</DisplayString>
|
|
|
|
<DisplayString>{y()}-{m()}-{d()}</DisplayString>
|
2020-01-04 14:21:38 +00:00
|
|
|
<Expand>
|
|
|
|
<Item Name="year" ExcludeView="simple">year</Item>
|
|
|
|
<Item Name="month" ExcludeView="simple">month</Item>
|
|
|
|
<Item Name="day" ExcludeView="simple">day</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::time">
|
2020-07-19 23:04:33 +00:00
|
|
|
<Intrinsic Name="h" Expression="(int)hour" />
|
|
|
|
<Intrinsic Name="m" Expression="(int)minute" />
|
|
|
|
<Intrinsic Name="s" Expression="(int)(second + (int)(nanosecond / 1000000000.0))" />
|
|
|
|
<DisplayString Condition="h() < 10 && m() < 10 && s() < 10">0{h()}:0{m()}:0{s()}</DisplayString>
|
|
|
|
<DisplayString Condition="h() < 10 && m() < 10">0{h()}:0{m()}:{s()}</DisplayString>
|
|
|
|
<DisplayString Condition="h() < 10 && s() < 10">0{h()}:{m()}:0{s()}</DisplayString>
|
|
|
|
<DisplayString Condition="m() < 10 && s() < 10">{h()}:0{m()}:0{s()}</DisplayString>
|
|
|
|
<DisplayString Condition="h() < 10">0{h()}:{m()}:{s()}</DisplayString>
|
|
|
|
<DisplayString Condition="m() < 10">{h()}:0{m()}:{s()}</DisplayString>
|
|
|
|
<DisplayString Condition="s() < 10">{h()}:{m()}:0{s()}</DisplayString>
|
|
|
|
<DisplayString>{h()}:{m()}:{s()}</DisplayString>
|
2020-01-04 14:21:38 +00:00
|
|
|
<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-19 23:04:33 +00:00
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::time_offset">
|
2020-07-19 23:04:33 +00:00
|
|
|
<Intrinsic Name="absmin" Expression="((int)minutes ^ ((int)minutes >> 31)) - ((int)minutes >> 31)" />
|
2020-07-20 14:13:52 +00:00
|
|
|
<Intrinsic Name="h" Expression="absmin() / 60u" />
|
|
|
|
<Intrinsic Name="m" Expression="absmin() % 60u" />
|
2020-07-19 23:04:33 +00:00
|
|
|
<DisplayString Condition="minutes == 0">Z</DisplayString>
|
2020-07-20 14:13:52 +00:00
|
|
|
<DisplayString Condition="minutes < 0 && h() < 10 && m() < 10">-0{h()}:0{m()}</DisplayString>
|
|
|
|
<DisplayString Condition="minutes < 0 && h() < 10">-0{h()}:{m()}</DisplayString>
|
|
|
|
<DisplayString Condition="minutes < 0 && m() < 10">-{h()}:0{m()}</DisplayString>
|
|
|
|
<DisplayString Condition="minutes < 0">-{h()}:{m()}</DisplayString>
|
|
|
|
<DisplayString Condition="h() < 10 && m() < 10">0{h()}:0{m()}</DisplayString>
|
|
|
|
<DisplayString Condition="h() < 10">0{h()}:{m()}</DisplayString>
|
|
|
|
<DisplayString Condition="m() < 10">{h()}:0{m()}</DisplayString>
|
|
|
|
<DisplayString>{h()}:{m()}</DisplayString>
|
2020-01-04 14:21:38 +00:00
|
|
|
<Expand>
|
|
|
|
<Item Name="minutes" ExcludeView="simple">minutes</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::stdopt::date_time">
|
|
|
|
<AlternativeType Name="toml::v3::custopt::date_time" />
|
2020-07-19 23:04:33 +00:00
|
|
|
<DisplayString Condition="offset._Has_value">{date}T{time}{offset}</DisplayString>
|
|
|
|
<DisplayString>{date}T{time}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="date" ExcludeView="simple">date</Item>
|
|
|
|
<Item Name="time" ExcludeView="simple">time</Item>
|
|
|
|
<Item Name="offset" ExcludeView="simple">offset</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::value<*>" Priority="MediumLow">
|
2020-01-04 14:21:38 +00:00
|
|
|
<DisplayString>{{ {val_} }}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="val_" ExcludeView="simple">val_</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::value<std::basic_string<char,*>>">
|
2020-07-19 23:04:33 +00:00
|
|
|
<DisplayString>{{ {val_,s8} }}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="val_" ExcludeView="simple">val_,s8</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::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>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::table">
|
|
|
|
<DisplayString>{map_}</DisplayString>
|
2020-07-19 19:37:23 +00:00
|
|
|
<Expand>
|
|
|
|
<!-- Modified from std::map visualizer in VS 2019 stl.natvis -->
|
|
|
|
<TreeItems>
|
2021-10-29 13:28:04 +00:00
|
|
|
<Size>map_._Mypair._Myval2._Myval2._Mysize</Size>
|
|
|
|
<HeadPointer>map_._Mypair._Myval2._Myval2._Myhead->_Parent</HeadPointer>
|
2020-07-19 19:37:23 +00:00
|
|
|
<LeftPointer>_Left</LeftPointer>
|
|
|
|
<RightPointer>_Right</RightPointer>
|
2020-07-19 23:04:33 +00:00
|
|
|
<ValueNode Condition="_Isnil == 0" Name="[{_Myval.first,s8}]">*_Myval.second</ValueNode>
|
2020-07-19 19:37:23 +00:00
|
|
|
</TreeItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::array">
|
|
|
|
<DisplayString>{elems_}</DisplayString>
|
2020-07-19 19:37:23 +00:00
|
|
|
<Expand>
|
|
|
|
<!-- Modified from std::vector visualizer in VS 2019 stl.natvis -->
|
|
|
|
<IndexListItems>
|
2021-10-29 13:28:04 +00:00
|
|
|
<Size>elems_._Mypair._Myval2._Mylast - elems_._Mypair._Myval2._Myfirst</Size>
|
|
|
|
<ValueNode>*elems_._Mypair._Myval2._Myfirst[$i]</ValueNode>
|
2020-07-19 19:37:23 +00:00
|
|
|
</IndexListItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::noex::parse_error">
|
2020-07-19 23:04:33 +00:00
|
|
|
<DisplayString>line {source_.begin.line}: {description_,s8b}</DisplayString>
|
|
|
|
</Type>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::ex::parse_error">
|
2020-07-19 23:04:33 +00:00
|
|
|
<DisplayString>line {source_.begin.line}: {_Data._What,s8b}</DisplayString>
|
|
|
|
</Type>
|
|
|
|
|
2021-10-29 13:28:04 +00:00
|
|
|
<Type Name="toml::v3::noex::parse_result">
|
|
|
|
<DisplayString Condition="!err_">{*reinterpret_cast<toml::v3::table*>(&storage_.bytes)}</DisplayString>
|
|
|
|
<DisplayString Condition="err_">{*reinterpret_cast<toml::v3::noex::parse_error*>(&storage_.bytes)}</DisplayString>
|
2020-07-19 19:37:23 +00:00
|
|
|
<Expand>
|
2021-10-29 13:28:04 +00:00
|
|
|
<Item Name="[table]" Condition="!err_">*reinterpret_cast<toml::v3::table*>(&storage_.bytes)</Item>
|
|
|
|
<Item Name="[error]" Condition="err_">*reinterpret_cast<toml::v3::noex::parse_error*>(&storage_.bytes)</Item>
|
2020-07-19 19:37:23 +00:00
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
|
2020-01-04 14:21:38 +00:00
|
|
|
</AutoVisualizer>
|