#include <lexan.h>
Inheritance diagram for iRegExp:
Public Methods | |
virtual bool | GetOp (unsigned index, unsigned char &op)=0 |
Gets an opcode at the given index. Returns false if the index is invalid. | |
virtual bool | SetOp (unsigned index, unsigned char op)=0 |
Sets the opcode at the given index. More... | |
virtual bool | Compact ()=0 |
Fixes the code buffer so that it fits the size of the regular expression exactly. More... |
|
Fixes the code buffer so that it fits the size of the regular expression exactly. Returns true on success |
|
Sets the opcode at the given index. Grows the code buffer if the index is greater than the length. Returns true on success. Returns false if index is an absurd value (currently > 0xfff) |