se.chalmers.cs.gf.parse.lex
Class DigitLexer

java.lang.Object
  extended by se.chalmers.cs.gf.parse.lex.RegexLexer
      extended by se.chalmers.cs.gf.parse.lex.DigitLexer
All Implemented Interfaces:
Lexer

public class DigitLexer
extends RegexLexer

Only allows single decimal digit tokens.


Constructor Summary
DigitLexer()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class se.chalmers.cs.gf.parse.lex.RegexLexer
lex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigitLexer

public DigitLexer()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException