Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package scalatest

    ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

    ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

    Definition Classes
    org
  • package diagrams

    A single traits and companion object that provides a assertions that draw code diagrams on failure.

    A single traits and companion object that provides a assertions that draw code diagrams on failure.

    This package is released as the scalatest-diagrams module.

    Definition Classes
    scalatest
  • DiagrammedExpr
  • Diagrams
ScalaTest is brought to you by:

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. Protected

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 byNameExpr[T](expression: => T, anchor: Int): DiagrammedExpr[() => T]

    Create by-name DiagrammedExpr that wraps by-name or Function expression.

    Create by-name DiagrammedExpr that wraps by-name or Function expression. The created DiagrammedExpr will not be displayed in the diagram as value.

    expression

    the by-name expression value

    anchor

    the anchor of the expression

    returns

    a by-name DiagrammedExpr

  3. 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

  4. 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