RecognitionException<StreamType extends IntStream> constructor
RecognitionException<StreamType extends IntStream> (
- Recognizer<
ATNSimulator> ? recognizer, - StreamType inputStream,
- RuleContext? ctx, [
- String message = '',
Implementation
RecognitionException(
this.recognizer,
this.inputStream,
this.ctx, [
String message = '',
]) : super(message) {
if (recognizer != null) offendingState = recognizer!.state;
}