LanguageUpgrader.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 |
|---|---|
| Yarn.Compiler.Upgrader.UpgradeJob upgradeJob | The upgrade job to perform. |
Returns
An UpgradeResult object containing the results of the upgrade operation.