Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.63 KB

yarn.compiler.upgrader.textreplacement.md

File metadata and controls

33 lines (21 loc) · 1.63 KB

TextReplacement

Struct in Yarn.Compiler.Upgrader

Inherits from System.ValueType

Summary

Contains information describing a replacement to make in a string.

public struct TextReplacement

Fields

Name Description
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.

Properties

Name Description
OriginalLength Gets the length of OriginalText .
ReplacementLength Gets the length of ReplacementLength .