/// <summary> /// Creates an html syntax node with children /// </summary> /// <param name="tag">The tag that the node represents.</param> /// <param name="tagRepresentation">The way that the tag is represented (<a> can be represented <a href="...">)</param> /// <param name="children">The children</param> public HtmlSyntaxNode(HtmlTag tag, string tagRepresentation, List<SyntaxNode> children) : base(tag, tagRepresentation, children) { }
/// <summary> /// Creates an empty html syntax node. /// </summary> /// <param name="tag">The tag that the node represents. If the tag is null - this is the main node.</param> /// <param name="tagRepresentation">The way that the tag is represented (<a> can be represented <a href="...">)</param> public HtmlSyntaxNode(HtmlTag tag, string tagRepresentation) : base(tag, tagRepresentation) { }