Yarn.Compiler Namespace

Summary

Contains classes for compiling Yarn code.

Classes

Name
Description

Compiles Yarn code.

A Lexer subclass that detects newlines and generates indent and dedent tokens accordingly.

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

An object that contains Yarn source code to compile, and instructions on how to compile it.

The result of a compilation.

Contains the result of parsing a single file of source code.

Information about a string. Stored inside a string table, which is produced from the Compiler.

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.