Packages

o

laika.parse.code.common

NumberLiteral

object NumberLiteral

Configurable base parsers for number literals.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumberLiteral
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class NumericParser(digits: NonEmptySet[Char], prefix: Option[PrefixedParser[String]] = None, underscores: Boolean = false, exponent: Option[Parser[String]] = None, suffix: Option[Parser[String]] = None, allowFollowingLetter: Boolean = false) extends Parser[Seq[CodeSpan]] with CodeParserBase with Product with Serializable

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val binary: NumericParser

    Parses a binary number literal.

    Parses a binary number literal. It must start with 0b or 0B, followed by one or more binary digits, e.g. \0b100110.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val decimalFloat: NumericParser

    Parses a decimal float with an optional exponent.

  8. val decimalInt: NumericParser

    Parses a decimal integer.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. val hex: NumericParser

    Parses a hexadecimal number literal.

    Parses a hexadecimal number literal. It must start with 0x or 0X, followed by one or more hex digits, e.g. \0x25ff7.

  15. val hexFloat: NumericParser

    Parses a hexadecimal float literal.

    Parses a hexadecimal float literal. It must start with 0x or 0X, followed by one or more hex digits, e.g. \0x25ff7.fa.

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val octal: NumericParser

    Parses an octal number literal.

    Parses an octal number literal. It must start with 0o or 0O, followed by one or more octal digits, e.g. \0o257.

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. object DigitParsers

    Parsers for common sets of digits, like hex or decimal.

Inherited from AnyRef

Inherited from Any

Ungrouped