CodeReplacement

Describes what to insert/replace/delete to do something

Members

Functions

apply
string apply(string code)

Applies this edit to a string.

Variables

content
string content;

Content to replace it with. Empty means remove.

range
size_t[2] range;

Range what to replace. If both indices are the same its inserting.

Meta