public class Antlr4ErrorLog extends Object implements org.antlr.v4.tool.ANTLRToolListener
ANTLRToolListener
reports messages to the
Log
instance provided by Maven.Constructor and Description |
---|
Antlr4ErrorLog(org.antlr.v4.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(org.antlr.v4.tool.ANTLRMessage message)
This implementation passes the message to the Maven log.
|
void |
info(String message)
This implementation passes the message to the Maven log.
|
void |
warning(org.antlr.v4.tool.ANTLRMessage message)
This implementation passes the message to the Maven log.
|
public Antlr4ErrorLog(@NotNull org.antlr.v4.Tool tool, @NotNull org.sonatype.plexus.build.incremental.BuildContext buildContext, @NotNull org.apache.maven.plugin.logging.Log log)
Antlr4ErrorLog
.log
- The Maven logpublic void info(String message)
info
in interface org.antlr.v4.tool.ANTLRToolListener
message
- The message to send to Mavenpublic void error(org.antlr.v4.tool.ANTLRMessage message)
error
in interface org.antlr.v4.tool.ANTLRToolListener
message
- The message to send to Maven.public void warning(org.antlr.v4.tool.ANTLRMessage message)
warning
in interface org.antlr.v4.tool.ANTLRToolListener
message
- Copyright © 2009-2014 ANTLR. All Rights Reserved.