net.sf.antcontrib.cpptasks.parser
Class BranchState

java.lang.Object
  extended by net.sf.antcontrib.cpptasks.parser.AbstractParserState
      extended by net.sf.antcontrib.cpptasks.parser.BranchState

public class BranchState
extends AbstractParserState


Constructor Summary
BranchState(AbstractParser parser, char[] branchChars, AbstractParserState[] branchStates, AbstractParserState noMatchState)
           
 
Method Summary
 AbstractParserState consume(char ch)
          Consume a character
protected  AbstractParserState getNoMatchState()
           
 
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
 

Constructor Detail

BranchState

public BranchState(AbstractParser parser,
                   char[] branchChars,
                   AbstractParserState[] branchStates,
                   AbstractParserState noMatchState)
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

getNoMatchState

protected AbstractParserState getNoMatchState()


Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved.