Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Method in CompilationJob
Creates a new CompilationJob using the contents of a collection of files.
A new CompilationJob .
Name | Description |
---|---|
System.Collections.Generic.IEnumerable<string>
paths
The paths to the files.
Yarn.Library library
The Library containing functions to use for this compilation.
Struct in CompilationJob
Inherits from System.ValueType
Represents the contents of a file to compile.
Name | Description |
---|---|
Field in
This may be a full path, or just the filename or anything in between. This is useful for diagnostics, and for attributing objects to their original source files.
Field in
The name of the file.
The source code of this file.
Enumeration Member in Type
The compiler will derive only the variable and function declarations, and file tags, found in the script.
Enum in CompilationJob
Inherits from System.Enum
The type of compilation that the compiler will do.
Name | Description |
---|---|
Enumeration Member in
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 Program , function declaration set, and string table.
The compiler will generate a string table only.
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 |
---|---|
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.
Method in CompilationJob
Creates a new CompilationJob using the contents of a string.
A new CompilationJob .
Name | Description |
---|---|
string
fileName
The name to assign to the compiled file.
string
source
The text to compile.
Yarn.Library library
Method in CompilationJob
Creates a new CompilationJob using the contents of a collection of files.
A new CompilationJob .
Name | Description |
---|---|
string[]
paths
The paths to the files.