Sets the source span of a YamlNode.
This method is not exposed publicly.
void setSpan(YamlNode node, SourceSpan span) { node._span = span; }