Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Field in TextReplacement
The position in the original string where the substitution should be made.
Field in TextReplacement
The line in the original string where the substitution should be made.
Field in OutputFile
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.
Property in UpgradeResult
Gets a collection containing all Diagnostic objects across all of the files in Files .
Enumeration Member in UpgradeType
Indicates an upgrade from Yarn Spinner 1.0 syntax to Yarn Spinner 2.0 syntax.
Method in LanguageUpgrader
Upgrades a Yarn script from one version of the language to another, producing both the fully upgraded text as well as a collection of replacements.
Name | Description |
---|---|
An UpgradeResult object containing the results of the upgrade operation.
Class in Yarn.Compiler.Upgrader
Inherits from System.Object
Name | Description |
---|---|
Name | Description |
---|---|
Class in Yarn.Compiler.Upgrader
Inherits from System.Object
Contains methods for upgrading the syntax of Yarn scripts.
Name | Description |
---|---|
Struct in Yarn.Compiler.Upgrader
Inherits from System.ValueType
Contains information describing a replacement to make in a string.
Name | Description |
---|---|
Name | Description |
---|---|
Struct in Yarn.Compiler.Upgrader
Inherits from System.ValueType
Name | Description |
---|---|
Name | Description |
---|---|
Struct in Yarn.Compiler.Upgrader
Inherits from System.ValueType
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Enum in Yarn.Compiler.Upgrader
Inherits from System.Enum
Specifies what kind of language upgrading should be applied.
Name | Description |
---|---|
Struct in UpgradeResult
Inherits from System.ValueType
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Yarn.Compiler.Upgrader.UpgradeJob upgradeJob
The upgrade job to perform.
System.Collections.Generic.IEqualityComparer<T>
comparer
T
item
Contains methods for upgrading the syntax of Yarn scripts.
Specifies what kind of language upgrading should be applied.
Contains information describing a replacement to make in a string.
Upgrades a Yarn script from one version of the language to another, producing both the fully upgraded text as well as a collection of replacements.
T[]
array
int
arrayIndex
System.Collections.Generic.IEnumerable<T>
items
T
item
A descriptive comment explaining why the substitution is necessary.
The string to expect at Start in the original string.
The string to replace OriginalText with at Start .
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 OriginalText .
Gets the length of ReplacementLength .
Gets a collection containing all Diagnostic objects across all of the files in Files .
Yarn.Compiler.Upgrader.UpgradeType upgradeType
System.Collections.Generic.IEnumerable<Yarn.Compiler.CompilationJob.File>
files
T
item
Indicates an upgrade from Yarn Spinner 1.0 syntax to Yarn Spinner 2.0 syntax.
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.