parsley.token.descriptions.NumberOfDigits
See theNumberOfDigits companion class
object NumberOfDigits
This object contains the concrete subtypes of NumberOfDigits
.
Attributes
- Since
-
4.0.0
- Companion
- class
- Source
- TextDesc.scala
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
NumberOfDigits.type
Members list
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.
Value parameters
- n
-
the maximum (inclusive) number of digits allowed in the literal.
Attributes
- Since
-
4.0.0
- Source
- TextDesc.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass NumberOfDigitsclass Objecttrait Matchableclass AnyShow all
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.
Value parameters
- n0
-
the first possible digit width.
- ns
-
the other possible digit widths.
Attributes
- Since
-
4.0.0
- Source
- TextDesc.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass NumberOfDigitsclass Objecttrait Matchableclass AnyShow all
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
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass NumberOfDigitsclass Objecttrait Matchableclass AnyShow all
- Self type
-
Unbounded.type
Inherited types
The names of the product elements
The name of the type
In this article