ANTLRErrorListener
public class Antlr3ErrorLog extends Object implements ANTLRErrorListener
Constructor | Description |
---|---|
Antlr3ErrorLog(org.apache.maven.plugin.logging.Log log) |
Instantiate an ANTLR ErrorListner that communicates any messages
it receives to the Maven error sink.
|
Modifier and Type | Method | Description |
---|---|---|
void |
error(Message message) |
Sends an error message from ANTLR analysis to the Maven Log sink.
|
void |
error(ToolMessage toolMessage) |
Sends an error message from the ANTLR tool to the Maven Log sink.
|
void |
info(String message) |
Sends an informational message to the Maven log sink.
|
void |
warning(Message message) |
Sends a warning message to the Maven log sink.
|
public Antlr3ErrorLog(org.apache.maven.plugin.logging.Log log)
log
- The Maven Error Logpublic void info(String message)
info
in interface ANTLRErrorListener
message
- The message to send to Mavenpublic void error(Message message)
error
in interface ANTLRErrorListener
message
- The message to send to Maven.public void warning(Message message)
warning
in interface ANTLRErrorListener
message
- public void error(ToolMessage toolMessage)
error
in interface ANTLRErrorListener
toolMessage
- Copyright © 1992–2019 ANTLR. All rights reserved.