IncrementToken() 공개 최종 메소드

public final IncrementToken ( ) : bool
리턴 bool
예제 #1
0
 public void Test()
 {
     TokenStream ts = new EmptyTokenStream();
     Assert.False(ts.IncrementToken());
     ts.Reset();
     Assert.False(ts.IncrementToken());
 }
 public virtual void TestConsume()
 {
     TokenStream ts = new EmptyTokenStream();
     ts.Reset();
     assertFalse(ts.IncrementToken());
     ts.End();
     ts.Dispose();
     // try again with reuse:
     ts.Reset();
     assertFalse(ts.IncrementToken());
     ts.End();
     ts.Dispose();
 }
예제 #3
0
        public virtual void TestConsume()
        {
            TokenStream ts = new EmptyTokenStream();

            ts.Reset();
            assertFalse(ts.IncrementToken());
            ts.End();
            ts.Dispose();
            // try again with reuse:
            ts.Reset();
            assertFalse(ts.IncrementToken());
            ts.End();
            ts.Dispose();
        }