|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.antlr.mojo.antlr3.Antlr3ErrorLog
public class Antlr3ErrorLog
The Maven plexus container gives us a Log logging provider which we can use to install an error listener for the ANTLR tool to report errors by.
| Constructor Summary | |
|---|---|
Antlr3ErrorLog(org.apache.maven.plugin.logging.Log log)
Instantiate an ANTLR ErrorListner that communicates any messages it receives to the Maven error sink. |
|
| Method Summary | |
|---|---|
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(java.lang.String message)
Sends an informational message to the Maven log sink. |
void |
warning(Message message)
Sends a warning message to the Maven log sink. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Antlr3ErrorLog(org.apache.maven.plugin.logging.Log log)
log - The Maven Error Log| Method Detail |
|---|
public void info(java.lang.String message)
info in interface ANTLRErrorListeners - The message to send to Mavenpublic void error(Message message)
error in interface ANTLRErrorListenermessage - The message to send to Maven.public void warning(Message message)
warning in interface ANTLRErrorListenermessage - public void error(ToolMessage toolMessage)
error in interface ANTLRErrorListenertoolMessage -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||