net.sf.antcontrib.cpptasks.parser
Class LetterState

java.lang.Object
  |
  +--net.sf.antcontrib.cpptasks.parser.AbstractParserState
        |
        +--net.sf.antcontrib.cpptasks.parser.LetterState

public final class LetterState
extends AbstractParserState


Field Summary
protected  AbstractParserState nextState
           
protected  AbstractParserState noMatchState
           
protected  char thisLetter
           
 
Constructor Summary
LetterState(AbstractParser parser, char thisLetter, AbstractParserState nextState, AbstractParserState noMatchState)
           
 
Method Summary
 AbstractParserState consume(char ch)
          Consume a character
 
Methods inherited from class net.sf.antcontrib.cpptasks.parser.AbstractParserState
getParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thisLetter

protected char thisLetter

nextState

protected AbstractParserState nextState

noMatchState

protected AbstractParserState noMatchState
Constructor Detail

LetterState

public LetterState(AbstractParser parser,
                   char thisLetter,
                   AbstractParserState nextState,
                   AbstractParserState noMatchState)
Method Detail

consume

public AbstractParserState consume(char ch)
Description copied from class: AbstractParserState
Consume a character
Overrides:
consume in class AbstractParserState
Tags copied from class: AbstractParserState
Returns:
new state, may be null to ignore the rest of the line


Copyright © 2001-2002 Ant-Contrib project. All Rights Reserved.