org.antlr.tool
Class GrammarSpelunker.Scanner

java.lang.Object
  extended by org.antlr.tool.GrammarSpelunker.Scanner
Enclosing class:
GrammarSpelunker

public static class GrammarSpelunker.Scanner
extends Object

Strip comments and then return stream of words and tokens {';', ':', '{', '}'}


Field Summary
static int EOF
           
 
Constructor Summary
GrammarSpelunker.Scanner(Reader input)
           
 
Method Summary
 String nextToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOF

public static final int EOF
See Also:
Constant Field Values
Constructor Detail

GrammarSpelunker.Scanner

public GrammarSpelunker.Scanner(Reader input)
                         throws IOException
Throws:
IOException
Method Detail

nextToken

public String nextToken()
                 throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.