org.specs2.matcher

ParserMatchers

trait ParserMatchers extends ParserBaseMatchers with ParserBeHaveMatchers

Matchers for parser combinators

When this trait is inherited the parsers variable needs to be defined.

by @alexey_r

Linear Supertypes
ParserBeHaveMatchers, ParserBaseMatchers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ParserMatchers
  2. ParserBeHaveMatchers
  3. ParserBaseMatchers
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. val parsers : Parsers

    Attributes
    abstract
    Definition Classes
    ParserBaseMatchers

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def aFailure : ParseNoSuccessMatcher[Nothing, ParseResult[Nothing], Failure]

    Definition Classes
    ParserBeHaveMatchers
  7. def aParseError : ParseNoSuccessMatcher[Nothing, ParseResult[Nothing], Error]

    Definition Classes
    ParserBeHaveMatchers
  8. def aSuccess : ParseSuccessMatcher[Nothing, ParseResult[Nothing]]

    Definition Classes
    ParserBeHaveMatchers
  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def beAFailure [T] : ParseNoSuccessMatcher[T, ParseResult[T], Failure]

    match if the input is not successfully parsed

    match if the input is not successfully parsed

    Definition Classes
    ParserBaseMatchers
  11. def beASuccess [T] : ParseSuccessMatcher[T, ParseResult[T]]

    match if the input is successfully parsed

    match if the input is successfully parsed

    Definition Classes
    ParserBaseMatchers
  12. def beAnError [T] : ParseNoSuccessMatcher[T, ParseResult[T], Error]

    match if parsing the input raises an error

    match if parsing the input raises an error

    Definition Classes
    ParserBaseMatchers
  13. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def errorOn [T] (input: Input): ParseNoSuccessMatcher[T, Parser[T], Error]

    match if parsing the input raises an error

    match if parsing the input raises an error

    Definition Classes
    ParserBaseMatchers
  17. def failOn [T] (input: Input): ParseNoSuccessMatcher[T, Parser[T], Failure]

    match if the input is not successfully parsed

    match if the input is not successfully parsed

    Definition Classes
    ParserBaseMatchers
  18. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  20. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  21. def haveFailureMsg [T] (result: String): Matcher[ParseResult[T]]

    match if the parse fails => string match ok

    match if the parse fails => string match ok

    Definition Classes
    ParserBaseMatchers
  22. def haveFailureMsg [T] (m: Matcher[String]): Matcher[ParseResult[T]]

    match if the parse fails => matcher ok

    match if the parse fails => matcher ok

    Definition Classes
    ParserBaseMatchers
  23. def haveSuccessResult [T] (result: String): Matcher[ParseResult[T]]

    match if the parse successful => string match ok

    match if the parse successful => string match ok

    Definition Classes
    ParserBaseMatchers
  24. def haveSuccessResult [T] (m: Matcher[T]): Matcher[ParseResult[T]]

    match if the parse successful => matcher ok

    match if the parse successful => matcher ok

    Definition Classes
    ParserBaseMatchers
  25. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  26. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def succeedOn [T] (input: Input): ParseSuccessMatcher[T, Parser[T]]

    match if the input is successfully parsed

    match if the input is successfully parsed

    Definition Classes
    ParserBaseMatchers
  30. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  31. implicit def toParsedResultMatcher [T] (result: MatchResult[ParseResult[T]]): ParsedResultMatcher[T]

    Attributes
    implicit
    Definition Classes
    ParserBeHaveMatchers
  32. implicit def toParserResultMatcherResult [T] (result: MatchResult[Parser[T]]): ParserResultMatcherResult[T]

    Attributes
    implicit
    Definition Classes
    ParserBeHaveMatchers
  33. def toString (): String

    Definition Classes
    AnyRef → Any
  34. implicit def useStringsAsInput (s: String): Reader[Char]

    Attributes
    implicit
    Definition Classes
    ParserBaseMatchers
  35. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ParserBeHaveMatchers

Inherited from ParserBaseMatchers

Inherited from AnyRef

Inherited from Any