public class Antlr4ErrorLog extends Object implements ANTLRToolListener
ANTLRToolListener
reports messages to the
Log
instance provided by Maven.Constructor and Description |
---|
Antlr4ErrorLog(Tool tool,
org.sonatype.plexus.build.incremental.BuildContext buildContext,
org.apache.maven.plugin.logging.Log log)
Creates an instance of
Antlr4ErrorLog . |
Modifier and Type | Method and Description |
---|---|
void |
error(ANTLRMessage message) |
void |
info(String message) |
void |
warning(ANTLRMessage message) |
public Antlr4ErrorLog(Tool tool, org.sonatype.plexus.build.incremental.BuildContext buildContext, org.apache.maven.plugin.logging.Log log)
Antlr4ErrorLog
.log
- The Maven logpublic void info(String message)
This implementation passes the message to the Maven log.
info
in interface ANTLRToolListener
message
- The message to send to Mavenpublic void error(ANTLRMessage message)
This implementation passes the message to the Maven log.
error
in interface ANTLRToolListener
message
- The message to send to Maven.public void warning(ANTLRMessage message)
This implementation passes the message to the Maven log.
warning
in interface ANTLRToolListener
message
- Copyright © 1992–2020 ANTLR. All rights reserved.