public class SyntaxCheckerErrorListener
extends org.antlr.v4.runtime.BaseErrorListener
BaseErrorListener implementation to check files for syntax errors and to report them to a given
Reporter.| Constructor and Description |
|---|
SyntaxCheckerErrorListener(org.thewonderlemming.c4plantuml.commons.Reporter reporter,
Path filepath)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
syntaxError(org.antlr.v4.runtime.Recognizer<?,?> recognizer,
Object offendingSymbol,
int line,
int charPositionInLine,
String msg,
org.antlr.v4.runtime.RecognitionException exception) |
public SyntaxCheckerErrorListener(org.thewonderlemming.c4plantuml.commons.Reporter reporter,
Path filepath)
reporter - the Reporter to report errors to.filepath - the source file to parse.public void syntaxError(org.antlr.v4.runtime.Recognizer<?,?> recognizer,
Object offendingSymbol,
int line,
int charPositionInLine,
String msg,
org.antlr.v4.runtime.RecognitionException exception)
syntaxError in interface org.antlr.v4.runtime.ANTLRErrorListenersyntaxError in class org.antlr.v4.runtime.BaseErrorListenerCopyright © 2020. All rights reserved.