Class Parser

Class Documentation

class Parser

Simple YAML parser.

Supports:

  • Scalars (strings, numbers, booleans)

  • Sequences (lists with - prefix)

  • Nested structures

  • Comments (# to end of line)

Limitations:

  • No support for mappings (key: value pairs)

  • No support for anchors, aliases, or tags

  • No support for multi-line strings with | or >

  • No support for flow style ([], {})

  • Basic indentation-based parsing

Public Static Functions

static inline Node parse(std::string_view content)