public final class CaseInsensitiveLetterState extends AbstractParserState
| Constructor and Description |
|---|
CaseInsensitiveLetterState(AbstractParser parser,
char matchLetter,
AbstractParserState nextStateArg,
AbstractParserState noMatchStateArg)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractParserState |
consume(char ch)
Consumes a character and returns the next state for the parser.
|
getParserpublic CaseInsensitiveLetterState(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 in class AbstractParserStatech - next characterCopyright © 2018 MojoHaus. All rights reserved.