case class Observation[T](msg: String, line: Int, kind: T) extends Product with Serializable
An observation during a SyntaxAnalysis.
- msg
The message corresponding this individual observation. The message will be dislayed next to this entry.
- 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.
- 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.
- Alphabetic
- By Inheritance
- Observation
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by XtensionStructure
- by XtensionSyntax
- by XtensionTokenizeInputLike
- by XtensionShow
- by XtensionParseInputLike
- by XtensionClassifiable
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Observation(msg: String, line: Int, kind: T)
- msg
The message corresponding this individual observation. The message will be dislayed next to this entry.
- 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.
- 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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from Observation[T] to any2stringadd[Observation[T]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Observation[T], B)
- Implicit
- This member is added by an implicit conversion from Observation[T] to ArrowAssoc[Observation[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
ensuring(cond: (Observation[T]) ⇒ Boolean, msg: ⇒ Any): Observation[T]
- Implicit
- This member is added by an implicit conversion from Observation[T] to Ensuring[Observation[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Observation[T]) ⇒ Boolean): Observation[T]
- Implicit
- This member is added by an implicit conversion from Observation[T] to Ensuring[Observation[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Observation[T]
- Implicit
- This member is added by an implicit conversion from Observation[T] to Ensuring[Observation[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Observation[T]
- Implicit
- This member is added by an implicit conversion from Observation[T] to Ensuring[Observation[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Observation[T] to StringFormat[Observation[T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
is[U](implicit classifier: Classifier[Observation[T], U]): Boolean
- Implicit
- This member is added by an implicit conversion from Observation[T] to meta.XtensionClassifiable[Observation[T]] performed by method XtensionClassifiable in scala.meta.classifiers.Api. This conversion will take place only if an implicit value of type Classifiable[Observation[T]] is in scope.
- Definition Classes
- XtensionClassifiable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNot[U](implicit classifier: Classifier[Observation[T], U]): Boolean
- Implicit
- This member is added by an implicit conversion from Observation[T] to meta.XtensionClassifiable[Observation[T]] performed by method XtensionClassifiable in scala.meta.classifiers.Api. This conversion will take place only if an implicit value of type Classifiable[Observation[T]] is in scope.
- Definition Classes
- XtensionClassifiable
- val kind: T
- val line: Int
- val msg: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parse[U](implicit convert: Convert[Observation[T], inputs.Input], parse: Parse[U], dialect: Dialect): parsers.Parsed[U]
- Implicit
- This member is added by an implicit conversion from Observation[T] to meta.XtensionParseInputLike[Observation[T]] performed by method XtensionParseInputLike in scala.meta.parsers.Api.
- Definition Classes
- XtensionParseInputLike
-
def
show[Style[X] <: Show[X]](implicit style: Style[Observation[T]]): String
- Implicit
- This member is added by an implicit conversion from Observation[T] to meta.XtensionShow[Observation[T]] performed by method XtensionShow in scala.meta.prettyprinters.Api.
- Definition Classes
- XtensionShow
-
def
structure: String
- Implicit
- This member is added by an implicit conversion from Observation[T] to meta.XtensionStructure[Observation[T]] performed by method XtensionStructure in scala.meta.prettyprinters.Api. This conversion will take place only if an implicit value of type prettyprinters.Structure[Observation[T]] is in scope.
- Definition Classes
- XtensionStructure
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
syntax: String
- Implicit
- This member is added by an implicit conversion from Observation[T] to meta.XtensionSyntax[Observation[T]] performed by method XtensionSyntax in scala.meta.prettyprinters.Api. This conversion will take place only if an implicit value of type prettyprinters.Syntax[Observation[T]] is in scope.
- Definition Classes
- XtensionSyntax
-
def
tokenize(implicit convert: Convert[Observation[T], inputs.Input], tokenize: Tokenize, dialect: Dialect): tokenizers.Tokenized
- Implicit
- This member is added by an implicit conversion from Observation[T] to meta.XtensionTokenizeInputLike[Observation[T]] performed by method XtensionTokenizeInputLike in scala.meta.tokenizers.Api.
- Definition Classes
- XtensionTokenizeInputLike
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
→[B](y: B): (Observation[T], B)
- Implicit
- This member is added by an implicit conversion from Observation[T] to ArrowAssoc[Observation[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc