Skip to content
# Interface: ModificationInfo

Defined in: packages/core/src/models/FormattingLexeme.ts:26

Metadata for tracking modifications during AST transformations

Properties

renames

renames: Map<string, string&gt;

Defined in: packages/core/src/models/FormattingLexeme.ts:30

Map of original values to new values for renamed items


insertions

insertions: object[]

Defined in: packages/core/src/models/FormattingLexeme.ts:35

Positions where new content was inserted

position

position: number

content

content: string


deletions

deletions: object[]

Defined in: packages/core/src/models/FormattingLexeme.ts:40

Ranges that were deleted from original content

start

start: number

end

end: number

Released under the MIT License.