CreateFromString(string,string,Library?,int)
Last updated
Was this helpful?
Method in CompilationJob
Creates a new CompilationJob using the contents of a string.
public static CompilationJob CreateFromString(string fileName, string source, Library? library = null, int languageVersion = Project.CurrentProjectFileVersion)string fileName
The name to assign to the compiled file.
string source
The text to compile.
Yarn.Library library
Library of function definitions to use during compilation.
int languageVersion
The version of the Yarn language to use.
A new CompilationJob .
Last updated
Was this helpful?
Was this helpful?
