DiagrammedExpr
companion object that provides factory methods to create different sub types of DiagrammedExpr
DiagrammedExpr
is used by code generated from DiagrammedAssertionsMacro
, it needs to be public
so that the generated code can be compiled. It is expected that ScalaTest users would ever need to use DiagrammedExpr
directly.
- Companion:
- class
Value members
Concrete methods
Create apply DiagrammedExpr
that wraps Apply
or TypeApply
expression.
Create apply DiagrammedExpr
that wraps Apply
or TypeApply
expression.
- Value parameters:
- anchor
the anchor of the expression
- args
the arguments of the
Apply
orTypeApply
expression- qualifier
the qualifier of the
Apply
orTypeApply
expression- value
the expression value
- Returns:
an apply
DiagrammedExpr
Create by-name DiagrammedExpr
that wraps by-name
or Function
expression.
The created DiagrammedExpr
will not be displayed in the diagram as value.
Create by-name DiagrammedExpr
that wraps by-name
or Function
expression.
The created DiagrammedExpr
will not be displayed in the diagram as value.
- Value parameters:
- anchor
the anchor of the expression
- expression
the by-name expression value
- Returns:
a by-name
DiagrammedExpr
Create select DiagrammedExpr
that wraps Select
expression.
Create select DiagrammedExpr
that wraps Select
expression.
- Value parameters:
- anchor
the anchor of the expression
- qualifier
the qualifier of the
Apply
orTypeApply
expression- value
the expression value
- Returns:
a select
DiagrammedExpr