CodeSource

class CodeSource(val name: String, textGetter: (String) -> String)

Represents a place where source code can be retrieved from.

Constructors

Link copied to clipboard
constructor(name: String, textGetter: (String) -> String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The name of the source.

Link copied to clipboard

The source code. It is backed by a WeakReference so it does not take up memory if it is not used.

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
fun mapText(transform: (String) -> String): CodeSource
Link copied to clipboard
open override fun toString(): String