Package org.antlr.tool
Class GrammarSpelunker.Scanner
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static int
EOF
-
-
-
Field Detail
-
EOF
public static final int EOF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Scanner
public Scanner(Reader input) throws IOException
- Throws:
IOException
-
-
Method Detail
-
nextToken
public String nextToken() throws IOException
- Throws:
IOException
-
-