mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-11-05 02:28:54 +00:00
54 lines
2.0 KiB
Plaintext
54 lines
2.0 KiB
Plaintext
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||
|
|
||
|
<Type Name="::toml::date">
|
||
|
<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>
|
||
|
|
||
|
<Type Name="::toml::time">
|
||
|
<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>
|
||
|
|
||
|
<Type Name="::toml::time_offset">
|
||
|
<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>
|
||
|
|
||
|
<Type Name="::toml::value<*>">
|
||
|
<DisplayString>{{ {val_} }}</DisplayString>
|
||
|
<Expand>
|
||
|
<Item Name="val_" ExcludeView="simple">val_</Item>
|
||
|
</Expand>
|
||
|
</Type>
|
||
|
|
||
|
<Type Name="::toml::source_position">
|
||
|
<DisplayString>line {line}, column {column}</DisplayString>
|
||
|
<Expand>
|
||
|
<Item Name="line" ExcludeView="simple">line</Item>
|
||
|
<Item Name="column" ExcludeView="simple">column</Item>
|
||
|
</Expand>
|
||
|
</Type>
|
||
|
|
||
|
<Type Name="::toml::impl::utf8_codepoint">
|
||
|
<DisplayString>{&bytes,s8} ({position})</DisplayString>
|
||
|
</Type>
|
||
|
|
||
|
</AutoVisualizer>
|