Packages

  • package root
    Definition Classes
    root
  • package spells
    Definition Classes
    root
  • trait XrayModule extends AnyRef

    Provides the xrayed as well as xrayedWeak methods respectively, which analyse an expression and return an instance of the XrayReport.

    Provides the xrayed as well as xrayedWeak methods respectively, which analyse an expression and return an instance of the XrayReport.

    It also provides the xray as well as xrayIf method respectively as well as their "weak" counterparts, which is a DSL for creating XrayReports without interrupting the code flow.

    List(1,2,3).map(_ + 1)           // compiles and has same semantics
    List(1,2,3).xray.map(_ + 1)      // compiles and has same semantics
    List(1,2,3).xray.map(_ + 1).xray // compiles and has same semantics
    Definition Classes
    spells
  • Description
  • IncreaseStackTraceDepthBy
  • Xray
  • XrayFromSpells
  • XrayReport
  • XrayWeakFromSpells

final class XrayReport[+T] extends (XrayModule.this)#CustomRendering

Instances of this class are created by methods like xray or xrayIf. They are used to describe evaluated expressions and can be rendered as a table.

Linear Supertypes
(XrayModule.this)#CustomRendering, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XrayReport
  2. CustomRendering
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new XrayReport(value: T, duration: Duration, stackTraceElement: StackTraceElement, timestamp: Calendar, description: String, thread: Thread, style: AnsiStyle = AnsiStyle.Reset, rendering: (T) => CustomRendering = CustomRendering.Defaults.Any, typeTag: Option[scala.reflect.api.JavaUniverse.TypeTag[T]], additionalContent: Seq[(String, String)] = immutable.Seq.empty)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val additionalContent: Seq[(String, String)]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final val description: String
  8. final val duration: Duration
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def rendered(implicit availableWidthInCharacters: AvailableWidthInCharacters = SpellsConfig.terminal.WidthInCharacters.value): String

    Renders anything.

    Renders anything. Used as view bound in many places, like xray.

    availableWidthInCharacters

    might be used by implementations

    returns

    a String rendering.

    Definition Classes
    XrayReportCustomRendering
  19. final val stackTraceElement: StackTraceElement
  20. final val style: AnsiStyle
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. final val thread: Thread
  23. final val timestamp: Calendar
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final val value: T
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def withAdditionalContent(content: Seq[(String, String)]): XrayReport[T]

Inherited from (XrayModule.this)#CustomRendering

Inherited from AnyRef

Inherited from Any

Ungrouped