NumberOfDigits

parsley.token.descriptions.text.NumberOfDigits$
See theNumberOfDigits companion class

This object contains the concrete subtypes of NumberOfDigits.

Attributes

Since:

4.0.0

Companion:
class
Source:
TextDesc.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class AtMost(n: Int) extends NumberOfDigits

There must be at most n digits in the numeric escape literal, up to and including the value given.

There must be at most n digits in the numeric escape literal, up to and including the value given.

Attributes

n

the maximum (inclusive) number of digits allowed in the literal.

Since:

4.0.0

Source:
TextDesc.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class Exactly(n0: Int, ns: Int*) extends NumberOfDigits

The number of digits in the literal must be one of the given values.

The number of digits in the literal must be one of the given values.

Attributes

n0

the first possible digit width.

ns

the other possible digit widths.

Since:

4.0.0

Source:
TextDesc.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
case object Unbounded extends NumberOfDigits

There is no limit on the number of digits that may appear in this sequence.

There is no limit on the number of digits that may appear in this sequence.

Attributes

Since:

4.0.0

Source:
TextDesc.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala