Observation

scala.meta.testkit.Observation
See theObservation companion object
case class Observation[T](msg: String, line: Int, kind: T)

An observation during a SyntaxAnalysis.

Value parameters

kind

The category of this observation. Observations of the same category are grouped together in the markdown table. Good values are enumerations or sealed ADTs.

line

The offending line number in the source file where the observation was made. Starts from line 0, which matches with scala.meta.Position.line.

msg

The message corresponding this individual observation. The message will be dislayed next to this entry.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product