Nat0xToken

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.

Companion:
object
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 exprTypeStr: String
Definition Classes
override def getIntStd: Int
Definition Classes
override def getNatStd: Int
Definition Classes
override def srcStr: String
Definition Classes

Inherited methods

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