All pages
Powered by GitBook
1 of 8

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Start

Field in

The position in the original string where the substitution should be made.

public int Start;

Summary

TextReplacement

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

OriginalText

Field in

The string to expect at in the original string.

public string OriginalText;

Summary

TextReplacement
Start

A descriptive comment explaining why the substitution is necessary.

The string to expect at in the original string.

The string to replace with at .

The position in the original string where the substitution should be made.

The line in the original string where the substitution should be made.

Gets the length of .

Gets the length of .

Properties

Comment
OriginalText
Start
ReplacementText
OriginalText
Start
Start
StartLine
OriginalLength
OriginalText
ReplacementLength
ReplacementLength

Comment

Field in

A descriptive comment explaining why the substitution is necessary.

public string Comment;

Summary

TextReplacement

ReplacementText

Field in

The string to replace with at .

public string ReplacementText;

Summary

TextReplacement
OriginalText
Start

StartLine

Field in

The line in the original string where the substitution should be made.

public int StartLine;

Summary

TextReplacement

ReplacementLength

Property in

Gets the length of .

public int ReplacementLength { get };

Summary

TextReplacement
ReplacementLength

OriginalLength

Property in

Gets the length of .

public int OriginalLength { get };

Summary

TextReplacement
OriginalText