Open jakobhellermann opened 4 days ago
The anchor is not exposed because it shouldn't be.
anchor names are a serialization detail and are discarded once composing is completed.
Unity should not convey any information in anchor names. Wouldn't be the first time they violate the spec anyway.
When I have enough time to invest in saphyr, I'll make another crate specifically for parsing unity things.
I'm parsing
.unity
yaml files, which contain multiple documents like thiswhere the
&71353
is the id of the object.As far as I can tell, the anchor is not exposed, right? The
yaml_loader
contains ananchor_map
anddoc_stack
which containanchor_id
s but there's no way to get to that.