Described

class Described(val className: String, val text: String) : Effect<Any?> (source)

A stand-in, in a trace read from text, for an effect or a response the text only describes: the simple name of its class and its description. It draws and compares as the original did. It cannot be handed to a program, so a response read from text replays only when the text kept it typed: null, Unit, a Boolean, an Int, a Long, a Float, a Double or a String.

Constructors

Link copied to clipboard
constructor(className: String, text: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String