Class TopLevelClass.LexicalAnalyzer

java.lang.Object
  extended byTopLevelClass.LexicalAnalyzer
Direct Known Subclasses:
TopLevelClass.Default.LexicalAnalyzer
Enclosing class:
TopLevelClass

public abstract static class TopLevelClass.LexicalAnalyzer
extends java.lang.Object

Generator of a sequence of TopLevelClass.Tokens.

Since:
notavaCC 1.0

Constructor Summary
TopLevelClass.LexicalAnalyzer()
           
 
Method Summary
abstract  TopLevelClass.Token next()
          Returns the next token in the sequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopLevelClass.LexicalAnalyzer

public TopLevelClass.LexicalAnalyzer()
Method Detail

next

public abstract TopLevelClass.Token next()
                                  throws TopLevelClass.ParseException
Returns the next token in the sequence.

If there is no tokens, the symbol ID of the returned value should be TopLevelClass.EOF_TOKEN, but the image or the index etc. are not specified (may be unsupported).

Returns:
the next token in the sequence.
Throws:
TopLevelClass.ParseException
Since:
notavaCC 1.0