Matches if all elements are matching a "like" function
Matches if all elements are matching a "like" function
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
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
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
Matches if there is one element in the traversable verifying the function
parameter: (traversable.exists(function(_))
Matches if there is one element in the traversable verifying the function
parameter: (traversable.exists(function(_))
Matches if all elements are matching a "like" function
Matches if all elements are matching a "like" function
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
Matches if there is at least one matching a "like" function
Matches if there is at least one matching a "like" function
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
Matches if there l contains the same elements as the Traversable traversable
.
Matches if there l contains the same elements as the Traversable traversable
.
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
Matches if there is at least one matching a "like" function
Matches if there is at least one matching a "like" function
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
Matchers for parser combinators
When this trait is inherited the parsers variable needs to be defined.
by @alexey_r