public void Push(YamlStructure structure) { stack.Push(new YamlPathComponent(structure)); }
public YamlPathComponent(YamlStructure structure) { Type = structure; }