CodeReplacement

Describes what to insert/replace/delete to do something

@component("importer")
struct CodeReplacement {}

Members

Functions

apply
string apply(string code)
Undocumented in source. Be warned that the author may not have intended to support it.

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