public class InBlockCommentParsingState extends BaseParsingState
| Modifier and Type | Field and Description |
|---|---|
protected ParsingState |
normalParsingState
The normal parsing state, that should be returned when the comment end is reached.
|
| Constructor and Description |
|---|
InBlockCommentParsingState() |
| Modifier and Type | Method and Description |
|---|---|
protected ParsingState |
getNextParsingState(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Determines whether the end of the block comment is reached.
|
void |
init(ParsingState normalParsingState)
Initializes the state with the normal parsing state, that should be returned when the comment end is reached..
|
handleNextCharprotected ParsingState normalParsingState
public void init(ParsingState normalParsingState)
normalParsingState - The normal state, not nullprotected ParsingState getNextParsingState(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
getNextParsingState in class BaseParsingStatepreviousChar - The previous char, 0 if nonecurrentChar - The current charnextChar - The next char, 0 if nonestatementBuilder - The statement builder, not nullCopyright © 2016. All Rights Reserved.