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.

trait Serializable
trait Product
trait Equals
trait Token
trait ClauseMem
trait AssignMem
trait Expr
trait BlockMem
trait TextSpan
class Object
trait Matchable
class Any

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

def asBase32Int: Int
Inherited from:
ValidBase32IntToken
def asBase32Nat: Int
Inherited from:
ValidRawBase32NatToken
def asHexaInt: Int
Inherited from:
ValidHexaIntToken
def asHexaNat: Int

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 exprName: String
Inherited from:
ClauseMemExprToken
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
def getNatStd: Int
Inherited from:
NatStdToken
override def hashCode(): Int
Definition Classes
Token -> Any
Inherited from:
Token
inline override def posDoubleValue: Double
Definition Classes
Inherited from:
NatStdToken
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
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