match if the input is not successfully parsed
match if the input is not successfully parsed
match if the input is successfully, but partially, parsed
match if the input is successfully, but partially, parsed
match if the input is successfully parsed
match if the input is successfully parsed
match if parsing the input raises an error
match if parsing the input raises an error
a matcher checking if the elements are ordered
COLLECTION MATCHERS
COLLECTION MATCHERS
ELEMENTS MATCHERS
ELEMENTS MATCHERS
Additional contain methods using to avoid automatic tuple conversions
Additional contain methods using to avoid automatic tuple conversions
match if a traversable contains all the elements of seq (and maybe more)
match if a traversable contains all the elements of seq (and maybe more)
match if a traversable contains one of (t1, t2)
match if a traversable contains one of (t1, t2)
match if traversable contains (x matches .
match if traversable contains (x matches .*+t+.*)
match if traversable contains (x matches p)
match if traversable contains (x matches p)
does a containAll comparison in both ways
does a containAll comparison in both ways
a check of type T can be downcasted implicitly to a check of type S >: T
a check of type T can be downcasted implicitly to a check of type S >: T
match if parsing the input raises an error
match if parsing the input raises an error
match if the input is not successfully parsed
match if the input is not successfully parsed
a function returning an object having an AsResult instance can check a value
a function returning an object having an AsResult instance can check a value
match if the parse fails => string match ok
match if the parse fails => string match ok
match if the parse fails => matcher ok
match if the parse fails => matcher ok
alias for haveSize
alias for haveSize
match if there is a way to size T
match if there is a way to size T
match if the parse successful => string match ok
match if the parse successful => string match ok
match if the parse successful => matcher ok
match if the parse successful => matcher ok
any java collection has a size
any java collection has a size
transform a value to a zero-arg function returning that value
transform a value to a zero-arg function returning that value
alias for haveSize
alias for haveSize
a Matcher[T] can check a value
a Matcher[T] can check a value
a partial function returning an object having an AsResult instance can check a value
a partial function returning an object having an AsResult instance can check a value
any scala array has a size
any scala array has a size
any scala collection has a size
any scala collection has a size
alias for haveSize
alias for haveSize
alias for beSorted
alias for beSorted
a regular string has a size, without having to be converted to an Traversable
a regular string has a size, without having to be converted to an Traversable
this allows the contain(string) matcher for StringMatchers to be used with a Traversable
this allows the contain(string) matcher for StringMatchers to be used with a Traversable
match if the input is successfully parsed
match if the input is successfully parsed
This implicit definition allows to declare a number of times
3.times
This implicit definition allows to declare a number of times
3.times
an expected value can be used to check another value
an expected value can be used to check another value
Matchers for parser combinators
When this trait is inherited the parsers variable needs to be defined.
by @alexey_r