public void RunStep(IStep step)
{
if (step.Description.IsNotEmpty())
{
_nodes.Peek().AddComment(step.Description);
}
// Here, this should be changed
_nodes.Peek().AddChild(step.GrammarKey).WithProperties(step.Values).With(elem =>
{
step.EachLeaf((key, leaf) =>
{
_nodes.Push(elem.AddChild(key));
leaf.AcceptVisitor(this);
_nodes.Pop();
});
});
}