All pages
Powered by GitBook
1 of 8

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

isImplicitTag

Field in StringInfo

Summary

Indicates whether this string's line ID was implicitly generated.

public bool isImplicitTag;

Remarks

Implicitly generated line IDs are not guaranteed to remain the same across multiple compilations. To ensure that a line ID remains the same, you must define it by adding a line tag to the line.

ToString()

Method in StringInfo

Summary

public override string ToString()

fileName

Field in StringInfo

Summary

The name of the file this string was found in.

public string fileName;

text

Field in StringInfo

Summary

The original text of the string.

public string text;

lineNumber

Field in

Summary

The line number at which this string was found in the file.

StringInfo

Struct in

Inherits from System.ValueType

Summary

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

nodeName

Field in

Summary

The name of the node that this string was found in.

public int lineNumber;
StringInfo
public string nodeName;
StringInfo

metadata

Field in StringInfo

Summary

The metadata (i.e. hashtags) associated with this string.

public string[] metadata;

Remarks

This array will contain any hashtags associated with this string besides the #line: hashtag.

Remarks

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

Fields

Name
Description

The name of the file this string was found in.

Indicates whether this string's line ID was implicitly generated.

The line number at which this string was found in the file.

The metadata (i.e. hashtags) associated with this string.

The name of the node that this string was found in.

Methods

Name
Description

Yarn.Compiler
public struct StringInfo

text

The original text of the string.

fileName
isImplicitTag
lineNumber
metadata
nodeName
ToString()