SourceCodeInfo

class SourceCodeInfo(val runtime: AvailRuntime, val resolverReference: ResolverReference)

Information about the source code for some module.

Constructors

Link copied to clipboard
fun SourceCodeInfo(runtime: AvailRuntime, resolverReference: ResolverReference)

Create a new record with the given content.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val lineEnds: AvailRuntimeSupport.AvailLazyFuture<List<Int>>

Lazily calculate where all the line ends are.

Link copied to clipboard
val resolverReference: ResolverReference
Link copied to clipboard
val runtime: AvailRuntime
Link copied to clipboard

Lazily normalize the line ends of the module source to be linefeed. Answer the normalized source and the line delimiter that was actually found in the original source.