# ChangeNamedExpressionUndoEntry

## Constructors

### constructor 

\+ **new ChangeNamedExpressionUndoEntry**(`namedExpression`: [InternalNamedExpression](internalnamedexpression.md), `newContent`: [RawCellContent](../globals.md#rawcellcontent), `oldContent`: [ClipboardCell](../globals.md#clipboardcell), `scope?`: undefined | number, `options?`: [NamedExpressionOptions](../globals.md#namedexpressionoptions)): *[ChangeNamedExpressionUndoEntry](changenamedexpressionundoentry.md)*

*Defined in [hyperformula/src/UndoRedo.ts:427](https://github.com/handsontable/hyperformula/blob/7aecb9f/hyperformula/src/UndoRedo.ts#L427)*

**Parameters:**

Name | Type |
------ | ------ |
`namedExpression` | [InternalNamedExpression](internalnamedexpression.md) |
`newContent` | [RawCellContent](../globals.md#rawcellcontent) |
`oldContent` | [ClipboardCell](../globals.md#clipboardcell) |
`scope?` | undefined &#124; number |
`options?` | [NamedExpressionOptions](../globals.md#namedexpressionoptions) |

**Returns:** *[ChangeNamedExpressionUndoEntry](changenamedexpressionundoentry.md)*

## Properties

### namedExpression

• **namedExpression**: *[InternalNamedExpression](internalnamedexpression.md)*

*Defined in [hyperformula/src/UndoRedo.ts:429](https://github.com/handsontable/hyperformula/blob/7aecb9f/hyperformula/src/UndoRedo.ts#L429)*

___

### newContent

• **newContent**: *[RawCellContent](../globals.md#rawcellcontent)*

*Defined in [hyperformula/src/UndoRedo.ts:430](https://github.com/handsontable/hyperformula/blob/7aecb9f/hyperformula/src/UndoRedo.ts#L430)*

___

### oldContent

• **oldContent**: *[ClipboardCell](../globals.md#clipboardcell)*

*Defined in [hyperformula/src/UndoRedo.ts:431](https://github.com/handsontable/hyperformula/blob/7aecb9f/hyperformula/src/UndoRedo.ts#L431)*

___

### options

• **options**? : *[NamedExpressionOptions](../globals.md#namedexpressionoptions)*

*Defined in [hyperformula/src/UndoRedo.ts:433](https://github.com/handsontable/hyperformula/blob/7aecb9f/hyperformula/src/UndoRedo.ts#L433)*

___

### scope

• **scope**? : *undefined | number*

*Defined in [hyperformula/src/UndoRedo.ts:432](https://github.com/handsontable/hyperformula/blob/7aecb9f/hyperformula/src/UndoRedo.ts#L432)*

## Methods

### doRedo 

▸ **doRedo**(`undoRedo`: [UndoRedo](undoredo.md)): *void*

*Defined in [hyperformula/src/UndoRedo.ts:442](https://github.com/handsontable/hyperformula/blob/7aecb9f/hyperformula/src/UndoRedo.ts#L442)*

**Parameters:**

Name | Type |
------ | ------ |
`undoRedo` | [UndoRedo](undoredo.md) |

**Returns:** *void*

___

### doUndo 

▸ **doUndo**(`undoRedo`: [UndoRedo](undoredo.md)): *void*

*Defined in [hyperformula/src/UndoRedo.ts:438](https://github.com/handsontable/hyperformula/blob/7aecb9f/hyperformula/src/UndoRedo.ts#L438)*

**Parameters:**

Name | Type |
------ | ------ |
`undoRedo` | [UndoRedo](undoredo.md) |

**Returns:** *void*

___

### getReferencedOldDataVersions 

▸ **getReferencedOldDataVersions**(): *number[]*

*Defined in [hyperformula/src/UndoRedo.ts:42](https://github.com/handsontable/hyperformula/blob/7aecb9f/hyperformula/src/UndoRedo.ts#L42)*

Returns LazilyTransformingAstService version keys referenced by this entry's oldData.
Default implementation returns empty — override in entries that store oldData.

**Returns:** *number[]*