程序包 org.antlr.tool

类 Message

    • 字段概要

      字段 
      修饰符和类型 字段 说明
      java.lang.Object arg  
      java.lang.Object arg2  
      int column  
      java.lang.Throwable e  
      java.lang.String file  
      int line  
      org.stringtemplate.v4.ST locationST  
      org.stringtemplate.v4.ST messageFormatST  
      int msgID  
      org.stringtemplate.v4.ST msgST  
      org.stringtemplate.v4.ST reportST  
    • 构造器概要

      构造器 
      构造器 说明
      Message()  
      Message​(int msgID)  
      Message​(int msgID, java.lang.Object arg, java.lang.Object arg2)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      org.stringtemplate.v4.ST getLocationTemplate()
      Return a new template instance for the location part of a Message.
      org.stringtemplate.v4.ST getMessageTemplate()
      Return a new template instance every time someone tries to print a Message.
      void setColumn​(int column)  
      void setLine​(int line)  
      void setMessageID​(int msgID)  
      java.lang.String toString​(org.stringtemplate.v4.ST messageST)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • msgST

        public org.stringtemplate.v4.ST msgST
      • locationST

        public org.stringtemplate.v4.ST locationST
      • reportST

        public org.stringtemplate.v4.ST reportST
      • messageFormatST

        public org.stringtemplate.v4.ST messageFormatST
      • msgID

        public int msgID
      • arg

        public java.lang.Object arg
      • arg2

        public java.lang.Object arg2
      • e

        public java.lang.Throwable e
      • file

        public java.lang.String file
      • line

        public int line
      • column

        public int column
    • 构造器详细资料

      • Message

        public Message()
      • Message

        public Message​(int msgID)
      • Message

        public Message​(int msgID,
                       java.lang.Object arg,
                       java.lang.Object arg2)
    • 方法详细资料

      • setLine

        public void setLine​(int line)
      • setColumn

        public void setColumn​(int column)
      • setMessageID

        public void setMessageID​(int msgID)
      • getMessageTemplate

        public org.stringtemplate.v4.ST getMessageTemplate()
        Return a new template instance every time someone tries to print a Message.
      • getLocationTemplate

        public org.stringtemplate.v4.ST getLocationTemplate()
        Return a new template instance for the location part of a Message. TODO: Is this really necessary? -Kay
      • toString

        public java.lang.String toString​(org.stringtemplate.v4.ST messageST)