public abstract class BaseParsingState extends Object implements ParsingState
| Constructor and Description |
|---|
BaseParsingState() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ParsingState |
getNextParsingState(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Determines the next state.
|
ParsingState |
handleNextChar(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Handles the next character by adding it to the statement builder.
|
public ParsingState handleNextChar(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
handleNextChar in interface ParsingStatepreviousChar - The previous char, 0 if nonecurrentChar - The current charnextChar - The next char, 0 if nonestatementBuilder - The statement builder, not nullprotected abstract ParsingState getNextParsingState(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
previousChar - The previous char, 0 if nonecurrentChar - The current charnextChar - The next char, 0 if nonestatementBuilder - The statement builder, not nullCopyright © 2016. All Rights Reserved.