parsley.token.numeric
Members list
Type members
Classlikes
This object contains the definitions of several types that help enforce that parsers of bounded precision only return types that can losslessly accomodate that precision.
This object contains the definitions of several types that help enforce that parsers of bounded precision only return types that can losslessly accomodate that precision.
Note that, on the JVM, there is no such thing as an unsigned value natively. Instead, the JVM provides a guarantee that overflow is well-defined, and, as such supports operations that work on numbers as if they were unsigned. For this reason, parsley
makes no distinction between unsigned and signed numbers.
Attributes
- Since
-
4.0.0
- Source
- BitBounds.scala
- Supertypes
- Self type
-
CanHold.type
This class defines a uniform interface for defining parsers for mixed kind numeric literals, independent of how whitespace should be handled after the literal or whether the literal should allow for negative numbers.
This class defines a uniform interface for defining parsers for mixed kind numeric literals, independent of how whitespace should be handled after the literal or whether the literal should allow for negative numbers.
Attributes
- Since
-
4.0.0
- Note
-
implementations of this class found within
Lexer
may employ sharing and refine the non-finaldef
s in this class intoval
orlazy val
when overriding. - Source
- Combined.scala
- Supertypes
This class defines a uniform interface for defining parsers for integer literals, independent of how whitespace should be handled after the literal or whether the literal should allow for negative numbers.
This class defines a uniform interface for defining parsers for integer literals, independent of how whitespace should be handled after the literal or whether the literal should allow for negative numbers.
Attributes
- Since
-
4.0.0
- Note
-
implementations of this class found within
Lexer
may employ sharing and refine the non-finaldef
s in this class intoval
orlazy val
when overriding. - Source
- Integer.scala
- Supertypes
This class is used to provide "low-priority" implicits for the types defined within CanHold
.
This class defines a uniform interface for defining parsers for floating literals, independent of how whitespace should be handled after the literal.
This class defines a uniform interface for defining parsers for floating literals, independent of how whitespace should be handled after the literal.
Attributes
- Since
-
4.0.0
- Note
-
implementations of this class found within
Lexer
may employ sharing and refine the non-finaldef
s in this class intoval
orlazy val
when overriding. - Source
- Real.scala
- Supertypes