It would be nice to have some YAML::Node::EndMark() method (analogous to YAML::Node::Mark()). to retrieve the end position of a node.
This could be used to retrieve the snipped of the input file containing the node to display it (e.g. in an error message).
(Is there already some way to get this information? (Maybe I just missed it))
It would be nice to have some
YAML::Node::EndMark()
method (analogous to YAML::Node::Mark()). to retrieve the end position of a node. This could be used to retrieve the snipped of the input file containing the node to display it (e.g. in an error message).(Is there already some way to get this information? (Maybe I just missed it))