/// <summary>Visits the provided <paramref name="rootElement"/>.</summary> /// <param name="rootElement">The <see cref="ParseTreeRootElement"/> to visit.</param> protected internal override void Visit(ParseTreeRootElement rootElement) { _elementEnded = true; _openElements.Clear(); foreach (var element in rootElement.Elements) { element.Accept(this); } }
/// <summary>Visits the provided <paramref name="rootElement"/>.</summary> /// <param name="rootElement">The <see cref="ParseTreeRootElement"/> to visit.</param> protected internal abstract void Visit(ParseTreeRootElement rootElement);