Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
donner::parser Namespace Reference

Parsers for shared data types such as NumberParser and LengthParser. More...

Classes

class  IntegerParser
 Parser for positive integers, either decimal or hexadecimal. More...
 
class  LengthParser
 Parser for CSS <length-percentage> strings, such as "10px", "30%", "10em", etc. More...
 
class  LengthParserImpl
 Implementation of the LengthParser. More...
 
class  LineOffsets
 Helper class for finding newlines in a string, so that error messages can convert string-relative offsets into line numbers. More...
 
class  NumberParser
 Parser for floating point numbers in SVG or CSS, corresponding to the CSS3 <number-token> definition from https://www.w3.org/TR/css-syntax-3/#number-token-diagram. More...
 
class  ParserBase
 Base class for parsers, containing common functionality such as maintaining the current parse location, skipping whitespace, and parsing numbers. More...
 

Detailed Description

Parsers for shared data types such as NumberParser and LengthParser.