Exemplo n.º 1
0
 public bool TryAppend(Token token)
 {
     this.position = this.TryAppendInternal(token);
     if (this.position != XmlLexerPosition.None)
     {
         this.tokens.Enqueue(token);
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
 public void Clear()
 {
     this.tokens.Clear();
     this.position          = XmlLexerPosition.None;
     this.requireWhiteSpace = false;
 }