public class ErrorState extends Object implements ProcessingState
ProcessingState
that always generate an error message.Constructor and Description |
---|
ErrorState() |
Modifier and Type | Method and Description |
---|---|
boolean |
processToken(ParseToken token)
Process one token.
|
public boolean processToken(ParseToken token)
This method always generate an error, as no data is expected in this state.
processToken
in interface ProcessingState
token
- token to processCopyright © 2002-2022 CS GROUP. All rights reserved.