Packages

c

ostrat.pParse

NatDeciToken

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

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.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NatDeciToken
  2. Serializable
  3. Product
  4. Equals
  5. IntDeciToken
  6. DigitsRawToken
  7. NatRawToken
  8. NatBase32Token
  9. NatHexaToken
  10. NatToken
  11. ExprToken
  12. ClauseMemberToken
  13. BlockMemberToken
  14. Token
  15. Expr
  16. ClauseMember
  17. StatementMember
  18. BlockMember
  19. TextSpan
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NatDeciToken(startPosn: TextPosn, srcStr: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def asHexaInt: Int
    Definition Classes
    NatHexaToken
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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.

    Definition Classes
    NatBase32Token
  7. def canEqual(a: Any): Boolean
    Definition Classes
    Token
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def digitsStr: String
    Definition Classes
    NatDeciTokenNatToken
  10. def endPosn: TextPosn
    Definition Classes
    TokenTextSpan
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(that: Any): Boolean
    Definition Classes
    Token → AnyRef → Any
  13. def exprName: String
    Definition Classes
    ExprTokenExpr
  14. def exprParseErr[A](implicit ev: UnShow[A]): EMon[A]
    Definition Classes
    Expr
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. 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.

    Definition Classes
    IntDeciToken
  17. def hashCode(): Int
    Definition Classes
    Token → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. val srcStr: String
    Definition Classes
    NatDeciTokenToken
  24. val startPosn: TextPosn
    Definition Classes
    NatDeciTokenTextSpan
  25. final def str: String
    Definition Classes
    Token
  26. def subTypeStr: String
    Definition Classes
    NatDeciTokenExprToken
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    ExprToken → AnyRef → Any
  29. final def tokenTypeStr: String
    Definition Classes
    ExprTokenToken
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from IntDeciToken

Inherited from DigitsRawToken

Inherited from NatRawToken

Inherited from NatBase32Token

Inherited from NatHexaToken

Inherited from NatToken

Inherited from ExprToken

Inherited from ClauseMemberToken

Inherited from BlockMemberToken

Inherited from Token

Inherited from Expr

Inherited from ClauseMember

Inherited from StatementMember

Inherited from BlockMember

Inherited from TextSpan

Inherited from AnyRef

Inherited from Any

Ungrouped