Nat0xToken

case class Nat0xToken(startPosn: TextPosn, digitsStr: String) extends NatHexaToken

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.

Companion
object
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

def getInt: Int
override def srcStr: String
Definition Classes
override def subTypeStr: String
Definition Classes

Inherited methods

def asHexaInt: Int
Inherited from
NatHexaToken
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
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