Yarn.Compiler Namespace
Summary
Contains classes for compiling Yarn code.
Classes
| Name | Description |
|---|---|
| CompilationResult | The result of a compilation. |
| Compiler | Compiles Yarn code. |
| Declaration | Represents a variable declaration |
| DeclarationBuilder | Provides methods for constructing Declaration objects. |
| Diagnostic | A diagnostic message that describes an error, warning or informational message that the user can take action on. |
| EnumTypeBuilder | Provides methods for constructing EnumType objects. |
| FunctionTypeBuilder | Provides methods for constructing FunctionType objects. |
| IndentAwareLexer | A Lexer subclass that detects newlines and generates indent and dedent tokens accordingly. |
| NodeDebugInfo | Contains debug information for a node in a Yarn file. |
| ParserRuleContextExtension | Contains extension methods for Antlr4.Runtime.ParserRuleContext objects. |
| Position | Represents a position in a multi-line string. |
| Project | Yarn Projects represent instructions on where to find Yarn scripts and associated assets, and how they should be compiled. |
| ProjectDebugInfo | Contains debugging information for compiled Yarn Projects. |
| Range | Represents a range of text in a multi-line string. |
| Utility | Utility methods for working with line tags. |
Interfaces
| Name | Description |
|---|---|
| ISourceInput | An input into a Yarn Spinner compilation. |
Namespaces
| Name | Description |
|---|---|
| Yarn.Compiler.Upgrader | Contains classes for upgrading Yarn code to more recent versions of the language. |
Structs
| Name | Description |
|---|---|
| CompilationJob | An object that contains Yarn source code to compile, and instructions on how to compile it. |
| FileParseResult | Contains the result of parsing a single file of source code. |
| StringInfo | Information about a string. Stored inside a string table, which is produced from the Compiler. |