private DotHtmlCommentNode ReadComment() { var startIndex = CurrentIndex; var node = new DotHtmlCommentNode() { StartPosition = Peek().StartPosition, IsServerSide = false }; node.StartToken = Read(); node.ValueNode = ReadTextValue(false, false, DothtmlTokenType.CommentBody); Assert(DothtmlTokenType.CloseComment); node.EndToken = Read(); node.Tokens.AddRange(GetTokensFrom(startIndex)); return(node); }
public void Visit(DotHtmlCommentNode comment) { ResolveFromParent(comment); }
public void Visit(DotHtmlCommentNode comment) { LastFoundNode = comment; }