object Parsers extends Parsers
- Alphabetic
- By Inheritance
- Parsers
- Parsers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
ParserException(result: Failure) extends RuntimeException with Product with Serializable
- Definition Classes
- Parsers
-
implicit
class
TryOps[A] extends AnyRef
Provides additional methods to
Try
via implicit conversion.Provides additional methods to
Try
via implicit conversion.- Definition Classes
- Parsers
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
consumeAll[T](p: Parser[T]): Parser[T]
A parser that succeeds if the specified parser succeeds and all input has been consumed.
A parser that succeeds if the specified parser succeeds and all input has been consumed.
- Definition Classes
- Parsers
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
failure(msg: String): Parser[Nothing]
A parser that always fails with the specified message.
A parser that always fails with the specified message.
- Definition Classes
- Parsers
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lazily[T](p: ⇒ Parser[T]): Parser[T]
Constructs a parser lazily, useful when breaking circles in recursive parsing.
Constructs a parser lazily, useful when breaking circles in recursive parsing.
- Definition Classes
- Parsers
-
def
lookAhead(offset: Int, value: String): Parser[String]
Attempts to parse the specified literal value at the specified offset behind the current position.
Attempts to parse the specified literal value at the specified offset behind the current position. Never consumes any input.
- Definition Classes
- Parsers
-
def
lookAhead[T](offset: Int, p: Parser[T]): Parser[T]
Applies the specified parser at the specified offset behind the current position.
Applies the specified parser at the specified offset behind the current position. Never consumes any input.
- Definition Classes
- Parsers
-
def
lookAhead(value: String): Parser[String]
Attempts to parse the specified literal value at the current position.
Attempts to parse the specified literal value at the current position. Never consumes any input.
- Definition Classes
- Parsers
-
def
lookAhead[T](p: Parser[T]): Parser[T]
Applies the specified parser at the current position.
Applies the specified parser at the current position. Never consumes any input.
- Definition Classes
- Parsers
-
def
lookBehind[T](offset: Int, parser: ⇒ Parser[T]): Parser[T]
Applies the specified parser at the specified offset behind the current position.
Applies the specified parser at the specified offset behind the current position. Never consumes any input.
- Definition Classes
- Parsers
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
not(value: String): Parser[Unit]
A parser that only succeeds if the parsing the specified literal value fails and vice versa, it never consumes any input.
A parser that only succeeds if the parsing the specified literal value fails and vice versa, it never consumes any input.
- Definition Classes
- Parsers
-
def
not[T](p: Parser[T]): Parser[Unit]
A parser that only succeeds if the specified parser fails and vice versa, it never consumes any input.
A parser that only succeeds if the specified parser fails and vice versa, it never consumes any input.
- Definition Classes
- Parsers
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
opt(value: String): Parser[Option[String]]
A parser for an optional literal string that always succeeds.
A parser for an optional literal string that always succeeds.
If the underlying parser succeeds this parser will contain its result as a
Some
, if it fails this parser will succeed with aNone
.- Definition Classes
- Parsers
-
def
opt[T](p: Parser[T]): Parser[Option[T]]
A parser for an optional element that always succeeds.
A parser for an optional element that always succeeds.
If the underlying parser succeeds this parser will contain its result as a
Some
, if it fails this parser will succeed with aNone
.- Definition Classes
- Parsers
-
def
success[T](v: T): Parser[T]
A parser that always succeeds with the specified value.
A parser that always succeeds with the specified value.
- Definition Classes
- Parsers
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated