All pages
Powered by GitBook
1 of 10

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Files

Field in UpgradeResult

Summary

The files produced as part of the upgrade.

public List<OutputFile> Files;

Diagnostics

Property in UpgradeResult

Summary

Gets a collection containing all Diagnostic objects across all of the files in Files .

public readonly IEnumerable<Diagnostic> Diagnostics { get }

IsNewFile

Field in OutputFile

Summary

Indicates whether this OutputFile represents a new file to be created. If this is true , OriginalSource will be the empty string, and Replacements will be empty.

public bool IsNewFile;

UpgradedSource

Property in OutputFile

Summary

The upgraded text of the file.

public readonly string UpgradedSource { get }

UpgradeResult

Struct in Yarn.Compiler.Upgrader

Inherits from System.ValueType

Summary

The result of an upgrade.

public struct UpgradeResult

Fields

Name
Description

The files produced as part of the upgrade.

Properties

Name
Description
Name
Description

OutputFile

Struct in

Inherits from System.ValueType

A file generated as part of an upgrade.

Name
Description

Diagnostics

Field in

The diagnostics produced for this file as a result of the upgrade process.

public IEnumerable<Diagnostic> Diagnostics;

Summary

OutputFile
Name
Description
public struct OutputFile

Summary

Gets a collection containing all objects across all of the files in .

A file generated as part of an upgrade.

Structs

Files

Path

Field in

The path of the file.

OriginalSource

Field in

The original text of the file, prior to upgrades.

Replacements

Field in

The list of replacements needed to be made in order to go from to .

Diagnostics
Diagnostic
Files
OutputFile
public string Path;

Summary

OutputFile
public string OriginalSource;

Summary

OutputFile
public IEnumerable<TextReplacement> Replacements;

Summary

OutputFile
OriginalSource
UpgradedSource

Fields

UpgradeResult

The diagnostics produced for this file as a result of the upgrade process.

IsNewFile

Indicates whether this OutputFile represents a new file to be created. If this is true , OriginalSource will be the empty string, and Replacements will be empty.

OriginalSource

The original text of the file, prior to upgrades.

Path

The path of the file.

Replacements

The list of replacements needed to be made in order to go from OriginalSource to UpgradedSource .

UpgradedSource

The upgraded text of the file.

Properties

Diagnostics