Utility.ParseSourceText(string,string)

Method in Utility

Summary

Parses a string of Yarn source code, and produces a FileParseResult .

public static FileParseResult ParseSourceText(string source, string sourceName = "<input>")

Parameters

NameDescription
string sourceThe source code to parse.
string sourceNameThe name of the source.

Returns

A FileParseResult representing the result of parsing the source.