NatDeciToken

case class NatDeciToken(startPosn: TextPosn, srcStr: String) extends ValidRawHexaNatToken with RawIntDeciToken with NatStdToken with DigitSeqsCode

A 64 bit natural number token in standard decimal format, but which can be inferred to be a raw Hexadecimal. It can be used for standard 32 bit Ints and 64 bit Longs, as well as less used integer formats such as 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.

Value members

Concrete methods

override def digitSeqs: Strings
Definition Classes
override def digitsStr: String
Definition Classes
override def exprTypeStr: String
Definition Classes
inline override def getIntStd: Int
Definition Classes
override def trail: String
Definition Classes

Inherited methods

Inherited from:
ValidHexaIntToken

Interpreting this token as a raw hexdecimal returns a natural number.

Interpreting this token as a raw hexdecimal returns a natural number.

Inherited from:
ValidRawHexaNatToken
def canEqual(a: Any): Boolean
Inherited from:
Token
override def doubleValue: Double
Definition Classes
Inherited from:
IntStdToken
override def endPosn: TextPosn
Definition Classes
Inherited from:
Token
override def equals(that: Any): Boolean
Definition Classes
Token -> Any
Inherited from:
Token
def exprParseErr[A](implicit ev: Unshow[A]): EMon[A]
Inherited from:
Expr

gets the natural integer value part from this token interpreting it as a standard Base10 notation.

gets the natural integer value part from this token interpreting it as a standard Base10 notation.

Inherited from:
RawIntDeciToken
Inherited from:
NatStdToken
override def hashCode(): Int
Definition Classes
Token -> Any
Inherited from:
Token
inline override def posDoubleValue: Double
Definition Classes
Inherited from:
NatStdToken
Inherited from:
Product
final def str: String
Inherited from:
Token
override def toString: String
Definition Classes
Inherited from:
ClauseMemExprToken
final override def tokenTypeStr: String
Definition Classes
Inherited from:
ClauseMemExprToken