|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
Options to modify the parsing behavior. More...
#include "donner/base/parser/NumberParser.h"
Public Member Functions | |
| Options () | |
| Construct a default options struct. | |
Public Attributes | |
| bool | forbidOutOfRange = true |
| If this is false and the number is out of range, returns an infinite value instead of returning an error. | |
Options to modify the parsing behavior.
| bool donner::parser::NumberParser::Options::forbidOutOfRange = true |
If this is false and the number is out of range, returns an infinite value instead of returning an error.
With this set to false, assuming the input string starts with a number, all parses should return successful ParseResults.