Packages

trait MiscParsers extends AnyRef

General-purpose parsers and combinators that aren't provided by atto.

Source
Misc.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MiscParsers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. def catchNFE[A, B](f: (A) => B): (A) => Parser[B]

    Catch a NumberFormatException, useful for flatMap.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. val colon: Parser[Unit]

    Parser for a colon.

  8. val dot: Parser[Unit]

    Parser for a dot/period/decimal point.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. val force: Parser[String]

    Force and return all remaining input without consuming it.

  12. def frac(n: Int): Parser[Int]

    Fractional portion of a decimal value, with up to N places given.

    Fractional portion of a decimal value, with up to N places given. So frac(3) parsing "12" yields 120. Mind the overflow, this only works for small N.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. val hyphen: Parser[Unit]

    Parser for a hyphen.

  16. val index: Parser[Index]

    Parser for an Index, which must be a positive Short with no leading zeros.

  17. def intN(n: Int): Parser[Int]

    Parser for n consecutive digits, parsed as an Int.

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. val neg: Parser[Boolean]

    Parser for an optional sign (+ or -), returned as a boolean indicating whether to negate.

  21. val nonWhitespace: Parser[String]

    Parser for a non-whitespace string.

  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. val positiveInt: Parser[Int]

    Parser for a positive Int.

  25. val space: Parser[Unit]

    Parser for a single space.

  26. val spaces1: Parser[Unit]

    Parser for one or more spaces.

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def takeUntilLast(p: (Char) => Boolean): Parser[String]

    Force and examine remaining input and yield the longest prefix up to (but not including) a char satisfying p, which is discarded.

    Force and examine remaining input and yield the longest prefix up to (but not including) a char satisfying p, which is discarded. Fails if no such char is found.

  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. val verticalWhitespace: Parser[Unit]

    Parser for a vertical whitespace String.

  31. val void: Parser[Unit]

    Parser that always succeeds without consuming any input.

  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. 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 AnyRef

Inherited from Any

Ungrouped