Class GssError

java.lang.Object
com.google.common.css.compiler.ast.GssError
All Implemented Interfaces:
Serializable, Comparable<GssError>

public class GssError extends Object implements Comparable<GssError>, Serializable
GSS parser error description.
See Also:
  • Constructor Details

  • Method Details

    • getLocation

      public SourceCodeLocation getLocation()
    • getMessage

      public String getMessage()
    • getLine

      public String getLine()
    • format

      public String format()
    • messageFormat

      public GssError.MessageFormatArgs messageFormat()
      Returns a MessageFormatArgs representation of the object. This is a parbaked precursor to the value given by format, intended for use in FormattingLoggers and other contexts where it is useful to maintain separation between boilerplate and details.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(GssError o)
      Compare errors by source name, location and message.
      Specified by:
      compareTo in interface Comparable<GssError>