ostrat.pParse.Nat0xToken
See theNat0xToken companion object
case class Nat0xToken(startPosn: TextPosn, digitsStr: String) extends NatStdToken with ValidHexaIntToken
A hexadecimal token with a leading "0x", that can be used for standard 32 bit Ints, 64 bit Longs, as well as less used integer formats such as BigInteger and Byte. This is in accord with the principle that RSON at the Token and AST (Abstract Syntax Tree) levels stores data not code, although of course at the higher semantic levels it can be used very well for programming languages.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait ValidHexaIntTokentrait NatStdTokentrait ValidPosFracTokentrait IntStdTokentrait ValidFracTokentrait ValidIntTokentrait ClauseMemExprTokentrait ClauseMemTokentrait BlockMemTokentrait Tokentrait ClauseMemExprtrait ClauseMemtrait ColonMemExprtrait ColonOpMemtrait AssignMemExprtrait AssignMemtrait Exprtrait StatementMemtrait BlockMemtrait TextSpanclass Objecttrait Matchableclass Any