Utility

Class in Yarn.Compiler

Inherits from System.Object

Summary

Utility methods for working with line tags.

public static class Utility

Methods

NameDescription

Given Yarn source code, adds line tags to the ends of all lines that need one and do not already have one.

Finds and collates every jump in every node.

Generates a Yarn script that contains a node that declares variables.

Parses a string of Yarn source code, and produces a FileParseResult and (if there were any problems) a collection of diagnostics.

Given Yarn source code, adds line tags to the ends of all lines that need one and do not already have one.

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