Utility.ExtractStringBlocks(IEnumerable,ProjectDebugInfo)

Method in Utility

Summary

Gets the collection of contiguous runs of lines in the provided nodes. Each run of lines is guaranteed to run to completion once entered.

public static List<List<string>> ExtractStringBlocks(IEnumerable<Node> nodes, ProjectDebugInfo projectDebugInfo)

Parameters

NameDescription
System.Collections.Generic.IEnumerable<Yarn.Node> nodesThe nodes to get string blocks for.
Yarn.Compiler.ProjectDebugInfo projectDebugInfoAn object containing debugging information for the project.

Returns

A collection of runs of lines.