Example #1
0
        // Used only for functions so that parameters are the children
        private void CommitDownFunction()
        {
            var text = _builder.ToString().Trim();

            _builder.Clear();
            _current = _current.AddSiblingFunction(text);
            _current = _current.AddChild("");
        }
Example #2
0
 private void Down()
 {
     if (_current.Parent != null)
     {
         _current = _current.AddSibling("");
     }
     _current = _current.AddChild("");
 }