Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Struct in Yarn.Compiler
Inherits from System.ValueType
An object that contains Yarn source code to compile, and instructions on how to compile it.
Instances of this struct are used with Compile(CompilationJob) to produce CompilationResult objects.
Name | Description |
---|---|
Name | Description |
---|---|
Method in CompilationJob
Creates a new CompilationJob using the contents of a string.
Name | Description |
---|---|
A new CompilationJob .
Struct in CompilationJob
Inherits from System.ValueType
Represents the contents of a file to compile.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
The type of compilation that the compiler will do.
The type of compilation to perform.
The File structs that represent the content to parse..
The Library that contains declarations for functions.
The declarations for variables.
Creates a new CompilationJob using the contents of a collection of files.
Creates a new CompilationJob using the contents of a collection of files.
Creates a new CompilationJob using the contents of a string.
Represents the contents of a file to compile.
string
fileName
The name to assign to the compiled file.
string
source
The text to compile.
Yarn.Library library
The name of the file.
The source code of this file.
| The paths to the files. |
| The paths to the files. |
library | The containing functions to use for this compilation. |
The compiler will derive only the variable and function declarations, and file tags, found in the script. |
The compiler will do a full compilation, and generate a , function declaration set, and string table. |
The compiler will generate a string table only. |