net.sf.antcontrib.cpptasks.parser
Class WhitespaceOrLetterState

java.lang.Object
  extended bynet.sf.antcontrib.cpptasks.parser.AbstractParserState
      extended bynet.sf.antcontrib.cpptasks.parser.WhitespaceOrLetterState

public final class WhitespaceOrLetterState
extends AbstractParserState


Field Summary
protected  AbstractParserState nextState
           
protected  char thisLetter
           
 
Constructor Summary
WhitespaceOrLetterState(AbstractParser parser, char thisLetter, AbstractParserState nextState)
           
 
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

nextState

protected final AbstractParserState nextState

thisLetter

protected final char thisLetter
Constructor Detail

WhitespaceOrLetterState

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

consume

public AbstractParserState consume(char ch)
Description copied from class: AbstractParserState
Consume a character

Specified by:
consume in class AbstractParserState
Returns:
new state, may be null to ignore the rest of the line


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