NatDeciToken

case class NatDeciToken(startPosn: TextPosn, srcStr: String) extends NatHexaToken with IntDeciToken

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 NatToken
trait ExprToken
trait Token
trait Expr
trait TextSpan
class Object
trait Matchable
class Any

Value members

Concrete methods

override def digitsStr: String
Definition Classes
override def subTypeStr: String
Definition Classes

Inherited methods

def asHexaInt: Int
Inherited from
NatHexaToken
def asbase32: Int

Uses the digitStr to calculate the natural number from the digitStr.

Uses the digitStr to calculate the natural number from the digitStr.

Inherited from
NatBase32Token
def canEqual(a: Any): Boolean
Inherited from
Token
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
ExprToken
def exprParseErr[A](implicit ev: UnShow[A]): EMon[A]
Inherited from
Expr
def getInt: Int

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

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

Inherited from
IntDeciToken
override def hashCode(): Int
Definition Classes
Token -> Any
Inherited from
Token
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
ExprToken -> Any
Inherited from
ExprToken
final override def tokenTypeStr: String
Definition Classes
Inherited from
ExprToken