Skip to content

Accessing ryml::Location after parsing #164

@Lemongrass3110

Description

@Lemongrass3110

For usecases like user input validation it would be great to have access to the ryml::Location on NodeRef level.
This allows to tell users where they might have put a wrong value inside the YAML document, even if the structure is valid YAML and was parsed successfully.

yaml-cpp provides this functionality via the Mark function.

Since this library focuses on performance it would be okay to enable this via ifdef if necessary as not everyone might need it by default.

For more details check: rathena/rathena#5997

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions