Utility
Last updated
Was this helpful?
Last updated
Was this helpful?
Class in
Inherits from System.Object
Utility methods for working with line tags.
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.
Gets the collection of contiguous runs of lines in the provided nodes. Each run of lines is guaranteed to run to completion once entered.
Generates a Yarn script that contains a node that declares variables.
Gets a string containing a representation of the compiled bytecode for a .
Returns an representation of the provided value.
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.