Supported
parsley.token.descriptions.numeric.ExponentDesc.Supported
final case class Supported(compulsory: Boolean, chars: Set[Char], base: Int, positiveSign: PlusSignPresence, leadingZerosAllowed: Boolean) extends ExponentDesc
Exponents are supported, which may be compulsory. The base of the exponent can vary, as can whether a positive (+
) sign is allowed before the exponent.
Value parameters
- base
-
the base of the exponent: for instance
e3
withbase = 10
would represent multiplication by 1000. - chars
-
the set of possible characters that can start an exponent part of a literal.
- compulsory
-
is an exponent required for the literal (at a specific base) to be valid?
- leadingZerosAllowed
-
are extraneous zeros allowed at the start of the exponent?
- positiveSign
-
are positive (
+
) signs allowed, required, or illegal in front of the exponent?
Attributes
- Since
-
4.0.0
- Source
- NumericDesc.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass ExponentDescclass Objecttrait Matchableclass Any
Members list
In this article