net.sf.antcontrib.cpptasks.parser
Class AbstractParserState
java.lang.Object
net.sf.antcontrib.cpptasks.parser.AbstractParserState
- Direct Known Subclasses:
- BranchState, CaseInsensitiveLetterState, ConsumeToSpaceOrNewLine, FilenameState, LetterState, PostE, QuoteBranchState, WhitespaceOrCaseInsensitiveLetterState, WhitespaceOrLetterState
public abstract class AbstractParserState
- extends Object
An base class for objects that represent the state of an AbstractParser.
- Author:
- CurtArnold
- See Also:
AbstractParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractParserState
protected AbstractParserState(AbstractParser parser)
consume
public abstract AbstractParserState consume(char ch)
- Consume a character
- Returns:
- new state, may be null to ignore the rest of the line
getParser
protected AbstractParser getParser()
Copyright © 2001-2011. All Rights Reserved.