se.chalmers.cs.gf.parse
Class SimpleLexer

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

public class SimpleLexer
extends java.lang.Object
implements Lexer

A simple lexer.


Constructor Summary
SimpleLexer()
           
 
Method Summary
 java.util.List<Token> lex(java.lang.CharSequence input)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLexer

public SimpleLexer()
Method Detail

lex

public java.util.List<Token> lex(java.lang.CharSequence input)
Specified by:
lex in interface Lexer

main

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