VanillaGen

parsley.errors.VanillaGen
See theVanillaGen companion class
object VanillaGen

This object contain the UnexpectedItem classes, needed to define the unexpected component of VanillaGen.

Attributes

Since

4.4.0

Companion
class
Source
ErrorGen.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
VanillaGen.type

Members list

Type members

Classlikes

case object EmptyItem extends UnexpectedItem

Signifies that the error generated should not have an unexpected component at all (as in filter).

Signifies that the error generated should not have an unexpected component at all (as in filter).

Attributes

Since

4.4.0

Source
ErrorGen.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
EmptyItem.type
final case class NamedItem(name: String) extends UnexpectedItem

Signifies that the error generated should use the given name as the unexpected component.

Signifies that the error generated should use the given name as the unexpected component.

Attributes

Since

4.4.0

Source
ErrorGen.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object RawItem extends UnexpectedItem

Signifies that the error generated should use whatever input was consumed by the offending parser verbatim.

Signifies that the error generated should use whatever input was consumed by the offending parser verbatim.

Attributes

Since

4.4.0

Source
ErrorGen.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
RawItem.type
sealed abstract class UnexpectedItem

Base class for describing how to form the unexpected component of a vanilla error message from VanillaGen.

Base class for describing how to form the unexpected component of a vanilla error message from VanillaGen.

Attributes

Since

4.4.0

Source
ErrorGen.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EmptyItem.type
class NamedItem
object RawItem.type