ExponentDesc

parsley.token.descriptions.numeric.ExponentDesc$
See theExponentDesc companion class

This object contains the concrete subtypes of ExponentDesc.

Attributes

Since:

4.0.0

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

Members list

Concise view

Type members

Classlikes

case object NoExponents extends ExponentDesc

Exponents are not supported.

Exponents are not supported.

Attributes

Since:

4.0.0

Source:
NumericDesc.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
final case class Supported(compulsory: Boolean, chars: Set[Char], base: Int, positiveSign: PlusSignPresence) extends ExponentDesc

Exponents are supported, which may be compulsory.

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.

Attributes

base

the base of the exponent: for instance e3 with base = 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?

positiveSign

are positive (+) signs allowed, required, or illegal in front of the exponent?

Since:

4.0.0

Source:
NumericDesc.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

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