trait Character extends AnyRef
Parsers for various kinds of characters.
- Alphabetic
- By Inheritance
- Character
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type CharRange = NumericRange[Char]
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
-
lazy val
anyChar: Parser[Char]
Parser that matches any character.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
binaryDigit: Parser[Char]
Binary digit, 0 or 1
-
def
char(c: Char): Parser[Char]
Parser that matches and returns only
c
. - def charRange(rs: CharRange*): Parser[Char]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
decimalDigit: Parser[Char]
Decimal digit, 0-9.
-
def
digit: Parser[Char]
The following parsers have been derived from Character.java.
The following parsers have been derived from Character.java. Note that they also handle non-Western unicode characters. See Java documentation for details.
-
def
elem(p: (Char) ⇒ Boolean, what: ⇒ String = "elem(...)"): Parser[Char]
Parser that returns a
Char
if it satisfies predicatep
. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hexDigit: Parser[Char]
Hex digit, 0-9, A-F, a-f
-
def
horizontalWhitespace: Parser[Char]
Whitespace that is not a line break
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def letter: Parser[Char]
- def letterOrDigit: Parser[Char]
- def lower: Parser[Char]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noneOf(s: String): Parser[Char]
Character is not in the given String
-
def
notChar(c: Char): Parser[Char]
Parser that matches any character other than
c
. -
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
octalDigit: Parser[Char]
Octal digit, 0-7
-
def
oneOf(s: String): Parser[Char]
Character is in the given String
-
def
optElem[A](p: (Char) ⇒ Option[A]): Parser[A]
elem
+map
in a single operation. -
def
satisfy(p: (Char) ⇒ Boolean): Parser[Char]
Equivalent to
elem(p)
but without optional label arg. -
def
skip(p: (Char) ⇒ Boolean): Parser[Unit]
Parser that skips a
Char
if it satisfies predicatep
. - def spaceChar: Parser[Char]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def upper: Parser[Char]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def whitespace: Parser[Char]