Options
All
  • Public
  • Public/Protected
  • All
Menu

Will add text to the source code.

Hierarchy

  • InsertChange
    • InsertChange

Implements

  • Change

Index

Constructors

Properties

Methods

Constructors

constructor

  • new InsertChange(path: string, pos: number, toAdd: string): InsertChange
  • Parameters

    • path: string
    • pos: number
    • toAdd: string

    Returns InsertChange

Properties

description

description: string

order

order: number

path

path: string

pos

pos: number

toAdd

toAdd: string

Methods

apply

  • apply(host: Host): Promise<void>
  • This method does not insert spaces if there is none in the original string.

    Parameters

    • host: Host

    Returns Promise<void>