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

The result of a tolerant #define scan. More...

#include <tolerant_scan.hpp>

Collaboration diagram for porytiles::TolerantDefineScan:
[legend]

Public Attributes

std::vector< DefineStatementdefines
 
std::vector< SkippedConstructskipped
 
std::unordered_set< std::string > ambiguous_values
 

Detailed Description

The result of a tolerant #define scan.

defines holds every define whose value was resolved (or that carries no value). skipped holds the defines whose value could not be evaluated; their names were still recorded as defined. ambiguous_values contains names that resolved to conflicting values in an undecidable conditional branch. Consumers that need an authoritative value must reject those names rather than relying on the scan's last encountered definition.

Definition at line 35 of file tolerant_scan.hpp.

Member Data Documentation

◆ ambiguous_values

std::unordered_set<std::string> porytiles::TolerantDefineScan::ambiguous_values

Definition at line 38 of file tolerant_scan.hpp.

◆ defines

std::vector<DefineStatement> porytiles::TolerantDefineScan::defines

Definition at line 36 of file tolerant_scan.hpp.

◆ skipped

std::vector<SkippedConstruct> porytiles::TolerantDefineScan::skipped

Definition at line 37 of file tolerant_scan.hpp.


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