Packages

object DiagrammedExpr

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.

Source
DiagrammedExpr.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DiagrammedExpr
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def applyExpr[T](qualifier: DiagrammedExpr[_], args: List[DiagrammedExpr[_]], value: T, anchor: Int): DiagrammedExpr[T]

    Create apply DiagrammedExpr that wraps Apply or TypeApply expression.

    Create apply DiagrammedExpr that wraps Apply or TypeApply expression.

    qualifier

    the qualifier of the Apply or TypeApply expression

    args

    the arguments of the Apply or TypeApply expression

    value

    the expression value

    anchor

    the anchor of the expression

    returns

    an apply DiagrammedExpr

  2. def selectExpr[T](qualifier: DiagrammedExpr[_], value: T, anchor: Int): DiagrammedExpr[T]

    Create select DiagrammedExpr that wraps Select expression.

    Create select DiagrammedExpr that wraps Select expression.

    qualifier

    the qualifier of the Apply or TypeApply expression

    value

    the expression value

    anchor

    the anchor of the expression

    returns

    a select DiagrammedExpr

  3. def simpleExpr[T](expression: T, anchor: Int): DiagrammedExpr[T]

    Create simple DiagrammedExpr that wraps expressions that is not Select, Apply or TypeApply.

    Create simple DiagrammedExpr that wraps expressions that is not Select, Apply or TypeApply.

    expression

    the expression value

    anchor

    the anchor of the expression

    returns

    a simple DiagrammedExpr