ReplaceOp

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

Constructors

this
this(size_t from, size_t to, Variant text)
Undocumented in source.

Members

Functions

execute
size_t execute(Variant buf)

@uml @override

toString
string toString()

@uml @override

Variables

lastIndex
size_t lastIndex;
Undocumented in source.

Inherited Members

From RewriteOperation

instructionIndex
size_t instructionIndex;

What index into rewrites List are we?

index
size_t index;

Token buffer index.

text
Variant text;
Undocumented in source.
execute
size_t execute(Variant buf)

Execute the rewrite operation by possibly adding to the buffer. Return the index of the next token to operate on.

toString
string toString()

@uml @override

Meta