toggle menu
metis-lang
jvm
switch theme
search in API
metis-lang
/
io.github.seggan.metis.parsing
/
CodeSource
/
Companion
/
constant
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.