Struct in Yarn.Compiler.Upgrader
Inherits from System.ValueType
System.ValueType
Contains information describing a replacement to make in a string.
public struct TextReplacement
Comment
A descriptive comment explaining why the substitution is necessary.
OriginalText
The string to expect at Start in the original string.
ReplacementText
The string to replace OriginalText with at Start .
Start
The position in the original string where the substitution should be made.
StartLine
The line in the original string where the substitution should be made.
OriginalLength
Gets the length of OriginalText .
ReplacementLength
Gets the length of ReplacementLength .
Last updated 2 years ago
Was this helpful?