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 aPartialSuccess : ParseSuccessMatcher[Nothing, ParseResult[Nothing]]

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

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

    Attributes
    final
    Definition Classes
    Any
  11. 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
  12. def beAPartialSuccess [T] : ParseSuccessMatcher[T, ParseResult[T]]

    match if the input is successfully, but partially, parsed

    match if the input is successfully, but partially, parsed

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

    match if the input is successfully parsed

    match if the input is successfully parsed

    Definition Classes
    ParserBaseMatchers
  14. 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
  15. def clone (): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  18. 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
  19. 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
  20. def finalize (): Unit

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

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

    Definition Classes
    AnyRef → Any
  23. 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
  24. 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
  25. 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
  26. 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
  27. def isInstanceOf [T0] : Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  31. 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
  32. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ParserBeHaveMatchers

Inherited from ParserBaseMatchers

Inherited from AnyRef

Inherited from Any