I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp instructions.

Hierarchy

Index

Constructors

constructor

Properties

index

index: number

Token buffer index.

instructionIndex

instructionIndex: number

What index into rewrites List are we?

lastIndex

lastIndex: number

Protected stream

text

text: string

Methods

execute

  • execute(buf: string): number

toString

  • toString(): string

Generated using TypeDoc