constant

fun constant(name: String, text: String): CodeSource

Creates a CodeSource from a string.

Return

The created CodeSource.

Parameters

name

The name of the source.

text

The source code.