parser
Class ExpressionParser.LexicalAnalyzer

java.lang.Object
  |
  +--parser.ExpressionParser.LexicalAnalyzer
Direct Known Subclasses:
ExpressionParser.Default.LexicalAnalyzer
Enclosing class:
ExpressionParser

public abstract static class ExpressionParser.LexicalAnalyzer
extends Object

Generates a sequence of tokens.

Since:
notavaCC 1.0

Constructor Summary
ExpressionParser.LexicalAnalyzer()
           
 
Method Summary
abstract  ExpressionParser.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

ExpressionParser.LexicalAnalyzer

public ExpressionParser.LexicalAnalyzer()
Method Detail

next

public abstract ExpressionParser.Token next()
                                     throws ExpressionParser.ParseException
Returns the next token in the sequence. If there is no tokens, the symbol ID of the returned value should be ExpressionParser.EOF_TOKEN, but the image or the index etc. are not specified (may be unsupported).

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