object MiscParsers extends MiscParsers
- Alphabetic
- By Inheritance
- MiscParsers
- MiscParsers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def catchNFE[A, B](f: (A) => B): (A) => Parser[B]
Catch a
NumberFormatException
, useful for flatMap.Catch a
NumberFormatException
, useful for flatMap.- Definition Classes
- MiscParsers
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val colon: Parser[Unit]
Parser for a colon.
Parser for a colon.
- Definition Classes
- MiscParsers
- val dot: Parser[Unit]
Parser for a dot/period/decimal point.
Parser for a dot/period/decimal point.
- Definition Classes
- MiscParsers
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val force: Parser[String]
Force and return all remaining input without consuming it.
Force and return all remaining input without consuming it.
- Definition Classes
- MiscParsers
- 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.
- Definition Classes
- MiscParsers
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hyphen: Parser[Unit]
Parser for a hyphen.
Parser for a hyphen.
- Definition Classes
- MiscParsers
- val index: Parser[Index]
Parser for an
Index
, which must be a positive Short with no leading zeros.Parser for an
Index
, which must be a positive Short with no leading zeros.- Definition Classes
- MiscParsers
- def intN(n: Int): Parser[Int]
Parser for
n
consecutive digits, parsed as anInt
.Parser for
n
consecutive digits, parsed as anInt
.- Definition Classes
- MiscParsers
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val neg: Parser[Boolean]
Parser for an optional sign (+ or -), returned as a boolean indicating whether to negate.
Parser for an optional sign (+ or -), returned as a boolean indicating whether to negate.
- Definition Classes
- MiscParsers
- val nonWhitespace: Parser[String]
Parser for a non-whitespace string.
Parser for a non-whitespace string.
- Definition Classes
- MiscParsers
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val positiveInt: Parser[Int]
Parser for a positive
Int
.Parser for a positive
Int
.- Definition Classes
- MiscParsers
- val space: Parser[Unit]
Parser for a single space.
Parser for a single space.
- Definition Classes
- MiscParsers
- val spaces1: Parser[Unit]
Parser for one or more spaces.
Parser for one or more spaces.
- Definition Classes
- MiscParsers
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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.- Definition Classes
- MiscParsers
- def toString(): String
- Definition Classes
- AnyRef → Any
- val verticalWhitespace: Parser[Unit]
Parser for a vertical whitespace String.
Parser for a vertical whitespace String.
- Definition Classes
- MiscParsers
- val void: Parser[Unit]
Parser that always succeeds without consuming any input.
Parser that always succeeds without consuming any input.
- Definition Classes
- MiscParsers
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()