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.
​
​Diagnostic​
A diagnostic message that describes an error, warning or informational message that the user can take action on.
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
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.
Export as PDF
Copy link
Edit on GitHub