Yarn Spinner
Website
Discord
GitHub
Patreon
Searchβ¦
2.2 (Current)
β
Start Here
Writing Your Dialogue
β¨
Editing with VS Code
β
Writing in Yarn
πͺ
Upgrading Yarn Scripts
Working With Unity
Overview
π¦
Installation
β‘
Quick Start
π₯
Importing Yarn Files
π§±
Components
π€
Commands and Functions
πΊ
Localizations and Assets
Unity Sample Projects
π
Choose-Your-Path Game
π
Choose-Your-Path Game with Visuals
π
NPC Dialogue Game
Guides
π
Yarn Variables and Variable Storage
About
The Team
GitHub Repositories
Community Projects
API Documentation
C#
Yarn Namespace
Yarn.Markup Namespace
Yarn.Compiler Namespace
CompilationJob
CompilationResult
Compiler
DebugInfo
Declaration
DeclarationBuilder
DeferredTypeDiagnostic
Diagnostic
FileParseResult
FunctionTypeBuilder
IndentAwareLexer
Position
Range
StringInfo
Utility
Yarn.Compiler.Upgrader Namespace
Yarn.Unity Namespace
Powered By
GitBook
Yarn.Compiler Namespace
Summary
Contains classes for compiling Yarn code.
Classes
Name
Description
β
Compiler
β
Compiles Yarn code.
β
DebugInfo
β
Contains debug information for a node in a Yarn file.
β
Declaration
β
β
β
DeclarationBuilder
β
Provides methods for constructing
Declaration
objects.
β
DeferredTypeDiagnostic
β
β
β
Diagnostic
β
A diagnostic message that describes an error, warning or informational message that the user can take action on.
β
FunctionTypeBuilder
β
Provides methods for constructing
FunctionType
objects.
β
IndentAwareLexer
β
A Lexer subclass that detects newlines and generates indent and dedent tokens accordingly.
β
Position
β
Represents a position in a multi-line string.
β
Range
β
Represents a range of text in a multi-line string.
β
Utility
β
Utility methods for working with line tags.
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.
β
CompilationResult
β
The result of a compilation.
β
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.
Previous
String
Next
CompilationJob
Last modified
3mo ago
Export as PDF
Copy link
Edit on GitHub
Outline
Summary
Classes
Namespaces
Structs