public final class LetterState extends AbstractParserState
| 构造器和说明 |
|---|
LetterState(AbstractParser parser,
char matchLetter,
AbstractParserState nextStateArg,
AbstractParserState noMatchStateArg)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
AbstractParserState |
consume(char ch)
Consumes a character and returns the next state for the parser.
|
getParserpublic LetterState(AbstractParser parser, char matchLetter, AbstractParserState nextStateArg, AbstractParserState noMatchStateArg)
parser - parsermatchLetter - letter to matchnextStateArg - next state if a match on the letternoMatchStateArg - state if no match on letterpublic AbstractParserState consume(char ch)
consume 在类中 AbstractParserStatech - next characterCopyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.