Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReplaceChange

Will replace text from the source code.

Hierarchy

  • ReplaceChange
    • ReplaceChange

Implements

  • Change

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ReplaceChange(path: string, pos: number, oldText: string, newText: string): ReplaceChange
  • Parameters

    • path: string
    • pos: number
    • oldText: string
    • newText: string

    Returns ReplaceChange

Properties

description

description: string

order

order: number

path

path: string

Methods

apply

  • apply(host: Host): Promise<void>
  • Parameters

    • host: Host

    Returns Promise<void>