/// <summary>
/// Renames an existing constant (custom or defined).
/// </summary>
/// <param name="context">The context of the constant.</param>
/// <param name="oldName">The old name of the constant.</param>
/// <param name="newName">The new name for the constant.</param>
/// <returns>The given context.</returns>
public static ParseContext RenameConstant(ParseContext context, string oldName, string newName)
{
context.RenameConstant(oldName, newName);
return(context);
}