Exemplo n.º 1
0
 public VrmlToken ReadNextToken()
 {
     while (m_context.TokensCount == 0)
     {
         m_currentState = m_currentState.Tick();
     }
     return(m_context.Dequeue());
 }
Exemplo n.º 2
0
 public VrmlTokenizer(TextReader reader)
 {
     m_context      = new TokenizerContext(reader, this);
     m_currentState = new InitialState(m_context);
 }