类 Antlr3ErrorLog

  • 所有已实现的接口:
    ANTLRErrorListener

    public class Antlr3ErrorLog
    extends java.lang.Object
    implements ANTLRErrorListener
    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.
    • 构造器概要

      构造器 
      构造器 说明
      Antlr3ErrorLog​(org.apache.maven.plugin.logging.Log log)
      Instantiate an ANTLR ErrorListner that communicates any messages it receives to the Maven error sink.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • Antlr3ErrorLog

        public Antlr3ErrorLog​(org.apache.maven.plugin.logging.Log log)
        Instantiate an ANTLR ErrorListner that communicates any messages it receives to the Maven error sink.
        参数:
        log - The Maven Error Log
    • 方法详细资料

      • info

        public void info​(java.lang.String message)
        Sends an informational message to the Maven log sink.
        指定者:
        info 在接口中 ANTLRErrorListener
        参数:
        message - The message to send to Maven
      • error

        public void error​(Message message)
        Sends an error message from ANTLR analysis to the Maven Log sink.
        指定者:
        error 在接口中 ANTLRErrorListener
        参数:
        message - The message to send to Maven.
      • warning

        public void warning​(Message message)
        Sends a warning message to the Maven log sink.
        指定者:
        warning 在接口中 ANTLRErrorListener
        参数:
        message -
      • error

        public void error​(ToolMessage toolMessage)
        Sends an error message from the ANTLR tool to the Maven Log sink.
        指定者:
        error 在接口中 ANTLRErrorListener
        参数:
        toolMessage -