Class ParseProblem


  • public class ParseProblem
    extends java.lang.Object
    Encapsulates information for a JavaScript parse error or warning.
    • Constructor Detail

      • ParseProblem

        public ParseProblem​(ParseProblem.Type type,
                            java.lang.String message,
                            java.lang.String sourceName,
                            int offset,
                            int length)
        Constructs a new ParseProblem.
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
      • setMessage

        public void setMessage​(java.lang.String msg)
      • getSourceName

        public java.lang.String getSourceName()
      • setSourceName

        public void setSourceName​(java.lang.String name)
      • getFileOffset

        public int getFileOffset()
      • setFileOffset

        public void setFileOffset​(int offset)
      • getLength

        public int getLength()
      • setLength

        public void setLength​(int length)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object