Class GrammarSpelunker.Scanner

  • Enclosing class:
    GrammarSpelunker

    public static class GrammarSpelunker.Scanner
    extends java.lang.Object
    Strip comments and then return stream of words and tokens {';', ':', '{', '}'}
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int EOF  
    • Constructor Summary

      Constructors 
      Constructor Description
      Scanner​(java.io.Reader input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String nextToken()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Scanner

        public Scanner​(java.io.Reader input)
                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • nextToken

        public java.lang.String nextToken()
                                   throws java.io.IOException
        Throws:
        java.io.IOException