Class ErrorMsg


  • public class ErrorMsg
    extends Object
    Every parser error is encapsulated into the instance of this class.
    Author:
    Vladimir Hudec
    • Field Detail

      • start

        private int start
      • length

        private int length
      • line

        private int line
    • Constructor Detail

      • ErrorMsg

        public ErrorMsg​(String name,
                        String msg,
                        int start,
                        int length,
                        int line)
    • Method Detail

      • getLength

        public int getLength()
      • getLine

        public int getLine()
      • getMsg

        public String getMsg()
      • getStart

        public int getStart()