Source

fun Source(content: String, name: String = "?", path: String = "!!no path!!")

Creates a source based of a string.

Parameters

content

The content of the source.

name

The name of the source.

path

The path to the source.