Overloaded method that takes a Bool
in place of Boolean
expression to create a new binary macro Bool
.
Overloaded method that takes a Bool
in place of Boolean
expression to create a new binary macro Bool
.
the left-hand-side (LHS) of the Boolean
expression
the operator (method name) of the Boolean
expression
the right-hand-side (RHS) of the Boolean
expression
the Bool
that will provide the Boolean
expression value with bool.value
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a binary macro Bool
Create binary macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression, which includes Boolean
expression that
uses ==
, ===
, !=
, !==
, >
, >=
, <
, <=
, &&
,
&
, ||
and |
.
Create binary macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression, which includes Boolean
expression that
uses ==
, ===
, !=
, !==
, >
, >=
, <
, <=
, &&
,
&
, ||
and |
.
the left-hand-side (LHS) of the Boolean
expression
the operator (method name) of the Boolean
expression
the right-hand-side (RHS) of the Boolean
expression
the Boolean
expression
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a binary macro Bool
Create exists macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression
represented by exists
method call.
Create exists macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression
represented by exists
method call.
the left-hand-side (LHS) of the Boolean
expression
the right-hand-side (RHS) of the Boolean
expression
the Boolean
expression
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a exists macro Bool
Overloaded method that takes a Bool
in place of Boolean
expression to create a new isInstanceOf
macro Bool
.
Overloaded method that takes a Bool
in place of Boolean
expression to create a new isInstanceOf
macro Bool
.
the left-hand-side (LHS) of the Boolean
expression
the operator (method name) of the Boolean
expression
the class name passed to isInstanceOf
method call
the Bool
that will provide the Boolean
expression value with bool.value
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a Bool
instance that represents a isInstanceOf
method call
Create macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression
represented by a isInstanceOf
method call,
Create macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression
represented by a isInstanceOf
method call,
the left-hand-side (LHS) of the Boolean
expression
the operator (method name) of the Boolean
expression
the class name passed to isInstanceOf
method call
the Boolean
expression
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a Bool
instance that represents a isInstanceOf
method call
A helper method to check is the given Bool
is a simple macro Bool
and contains empty expression text.
A helper method to check is the given Bool
is a simple macro Bool
and contains empty expression text.
the Bool
to check
true
if the given Bool
is a simple macro Bool
and contains empty expression text, false
otherwise.
Create macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression
represented by length
and size
method call,
Create macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression
represented by length
and size
method call,
the left-hand-side (LHS) of the Boolean
expression
the operator (method name) of the Boolean
expression
the actual value returned from length
or size
method call
the expected value returned from length
or size
method call
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a Bool
instance that represents a length
or size
method call
Create a negated version of the given Bool
Create a negated version of the given Bool
the given Bool
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a negated version of the given Bool
Create simple macro Bool
that is used by BooleanMacro
to wrap an unrecognized Boolean
expression.
Create simple macro Bool
that is used by BooleanMacro
to wrap an unrecognized Boolean
expression.
the Boolean
expression
the original expression text (source code)
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a simple macro Bool
Overloaded method that takes a Bool
in place of Boolean
expression to create a new unary macro Bool
.
Overloaded method that takes a Bool
in place of Boolean
expression to create a new unary macro Bool
.
the left-hand-side (LHS) of the Boolean
expression
the operator (method name) of the Boolean
expression
the Bool
that will provide the Boolean
expression value with bool.value
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a binary macro Bool
Create unary macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression represented by a unary method call,
which includes Boolean
expression that uses isEmpty
.
Create unary macro Bool
that is used by BooleanMacro
to wrap a recognized Boolean
expression represented by a unary method call,
which includes Boolean
expression that uses isEmpty
.
the left-hand-side (LHS) of the Boolean
expression
the operator (method name) of the Boolean
expression
the Boolean
expression
the Prettifier
used for prettifying messages, this need to be implicit to let the compiler resolve it implicitly, it will be too tricky for our macro to resolve it and pass it over explicitly.
a unary macro Bool
Bool
companion object that provides factory methods to create different sub types ofBool
Bool
is used by code generated fromBooleanMacro
(whichAssertionsMacro
andRequirementsMacro
uses), it needs to be public so that the generated code can be compiled. It is expected that ScalaTest users would ever need to useBool
directly.