Porytiles
Loading...
Searching...
No Matches
porytiles::TolerantEnumMember Struct Reference

One enum member from a tolerant enum scan. More...

#include <tolerant_scan.hpp>

Collaboration diagram for porytiles::TolerantEnumMember:
[legend]

Public Attributes

std::string name
 
std::optional< std::int64_t > value
 
SourcePosition position
 

Detailed Description

One enum member from a tolerant enum scan.

value is absent when the member's value could not be determined: either its explicit expression was unevaluable, or it is an implicit member whose running counter was poisoned by an earlier unevaluable explicit value.

Definition at line 46 of file tolerant_scan.hpp.

Member Data Documentation

◆ name

std::string porytiles::TolerantEnumMember::name

Definition at line 47 of file tolerant_scan.hpp.

◆ position

SourcePosition porytiles::TolerantEnumMember::position

Definition at line 49 of file tolerant_scan.hpp.

◆ value

std::optional<std::int64_t> porytiles::TolerantEnumMember::value

Definition at line 48 of file tolerant_scan.hpp.


The documentation for this struct was generated from the following file: