All pages
Powered by GitBook
1 of 2

Loading...

Loading...

LanguageUpgrader

Class in Yarn.Compiler.Upgrader

Inherits from System.Object

Summary

Contains methods for upgrading the syntax of Yarn scripts.

public static class LanguageUpgrader

Methods

Name
Description

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.

Upgrade(UpgradeJob)

Upgrade(UpgradeJob)

Method in LanguageUpgrader

Summary

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.

public static UpgradeResult Upgrade(UpgradeJob upgradeJob)

Parameters

Name
Description

upgradeJob

The upgrade job to perform.

Returns

An object containing the results of the upgrade operation.

UpgradeResult
Yarn.Compiler.Upgrader.UpgradeJob