org.codehaus.mojo.natives.parser
Class BranchState
java.lang.Object
org.codehaus.mojo.natives.parser.AbstractParserState
org.codehaus.mojo.natives.parser.BranchState
public class BranchState
- extends AbstractParserState
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BranchState
public BranchState(AbstractParser parser,
char[] branchChars,
AbstractParserState[] branchStates,
AbstractParserState noMatchState)
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 © 2011 Codehaus. All Rights Reserved.