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
The string to replace with at .
Field in TextReplacement
The position in the original string where the substitution should be made.
Struct in Yarn.Compiler.Upgrader
Inherits from System.ValueType
Contains information describing a replacement to make in a string.
Name | Description |
---|---|
Name | Description |
---|---|
Constructor in
Method in
Name | Description |
---|
An object containing the results of the upgrade operation.
Class in
Name | Description |
---|
Property in
Gets the length of .
Field in
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 .
The upgrade job to perform. |
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. |
upgradeJob
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Class in
Name | Description |
---|
Name | Description |
---|
Name | Description |
---|
Method in
Name | Description |
---|
Method in
Method in
Name | Description |
---|
Method in
Name | Description |
---|
System.Collections.Generic.IEqualityComparer<T>
comparer
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.
|
|
|
|
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.
Name | Description |
---|---|
Name | Description |
---|---|
Field in
Struct in
Name | Description |
---|
Name | Description |
---|
Name | Description |
---|
T
item
T
item
Property in UpgradeResult
Gets a collection containing all Diagnostic objects across all of the files in Files .
Enum in Yarn.Compiler.Upgrader
Inherits from System.Enum
Specifies what kind of language upgrading should be applied.
Gets a collection containing all objects across all of the files in .
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Enumeration Member in
Field in
Struct in
Name | Description |
---|
Name | Description |
---|
Yarn.Compiler.Upgrader.UpgradeType upgradeType
System.Collections.Generic.IEnumerable<Yarn.Compiler.CompilationJob.File>
files
Indicates an upgrade from Yarn Spinner 1.0 syntax to Yarn Spinner 2.0 syntax.
Indicates whether this represents a new file to be created. If this is true
, will be the empty string, and will be empty.