public final class WhitespaceOrCaseInsensitiveLetterState extends AbstractParserState
Constructor | Description |
---|---|
WhitespaceOrCaseInsensitiveLetterState(AbstractParser parser,
char matchLetter,
AbstractParserState nextStateArg) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
AbstractParserState |
consume(char ch) |
Consumes a character and returns the next state for the parser.
|
getParser
public WhitespaceOrCaseInsensitiveLetterState(AbstractParser parser, char matchLetter, AbstractParserState nextStateArg)
parser
- parsermatchLetter
- letter to matchnextStateArg
- next state if a match on the letterpublic AbstractParserState consume(char ch)
consume
in class AbstractParserState
ch
- next characterCopyright © 2019 MojoHaus. All rights reserved.