Ejemplo n.º 1
0
        private DotHtmlCommentNode ReadComment()
        {
            var startIndex = CurrentIndex;
            var node       = new DotHtmlCommentNode();

            node.StartToken = Read();
            node.ValueNode  = ReadTextValue(false, false, DothtmlTokenType.CommentBody);
            Assert(DothtmlTokenType.CloseComment);
            node.EndToken = Read();

            node.Tokens.Add(GetTokensFrom(startIndex));
            return(node);
        }
Ejemplo n.º 2
0
 public void Visit(DotHtmlCommentNode comment)
 {
     LastFoundNode = comment;
 }
Ejemplo n.º 3
0
 public void Visit(DotHtmlCommentNode comment)
 {
     LastFoundNode = comment;
 }