StringInfo

Struct in Yarn.Compiler

Inherits from System.ValueType

Summary

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

public struct StringInfo : IEquatable<StringInfo>

Remarks

You do not create instances of this class yourself. They are generated by the Compiler .

Fields

NameDescription
fileNameThe name of the file this string was found in.
isImplicitTagIndicates whether this string’s line ID was implicitly generated.
lineNumberThe line number at which this string was found in the file.
metadataThe metadata (i.e. hashtags) associated with this string.
nodeNameThe name of the node that this string was found in.
shadowLineIDThe ID of the line that this line is shadowing, or null if this line is not shadowing another line.
textThe original text of the string.

Methods