Lines Matching defs:RegExpOpCode
25 class RegExpOpCode {
71 RegExpOpCode(uint8_t opCode, int size);
72 NO_COPY_SEMANTIC(RegExpOpCode);
73 NO_MOVE_SEMANTIC(RegExpOpCode);
75 virtual ~RegExpOpCode() = default;
76 static RegExpOpCode *GetRegExpOpCode(const DynChunk &buf, int pcOffset);
77 static RegExpOpCode *GetRegExpOpCode(uint8_t opCode);
98 class SaveStartOpCode : public RegExpOpCode {
100 SaveStartOpCode() : RegExpOpCode(OP_SAVE_START, RegExpOpCode::OP_SIZE_TWO) {}
108 class SaveEndOpCode : public RegExpOpCode {
110 SaveEndOpCode() : RegExpOpCode(OP_SAVE_END, RegExpOpCode::OP_SIZE_TWO) {}
118 class CharOpCode : public RegExpOpCode {
120 CharOpCode() : RegExpOpCode(OP_CHAR, RegExpOpCode::OP_SIZE_THREE) {}
128 class GotoOpCode : public RegExpOpCode {
130 GotoOpCode() : RegExpOpCode(OP_GOTO, RegExpOpCode::OP_SIZE_FIVE) {}
139 class SplitNextOpCode : public RegExpOpCode {
141 SplitNextOpCode() : RegExpOpCode(OP_SPLIT_NEXT, RegExpOpCode::OP_SIZE_FIVE) {}
150 class SplitFirstOpCode : public RegExpOpCode {
152 SplitFirstOpCode() : RegExpOpCode(OP_SPLIT_FIRST, RegExpOpCode::OP_SIZE_FIVE) {}
161 class PushOpCode : public RegExpOpCode {
163 PushOpCode() : RegExpOpCode(OP_PUSH, RegExpOpCode::OP_SIZE_ONE) {}
171 class PopOpCode : public RegExpOpCode {
173 PopOpCode() : RegExpOpCode(OP_POP, RegExpOpCode::OP_SIZE_ONE) {}
181 class PushCharOpCode : public RegExpOpCode {
183 PushCharOpCode() : RegExpOpCode(OP_PUSH_CHAR, RegExpOpCode::OP_SIZE_ONE) {}
191 class CheckCharOpCode : public RegExpOpCode {
193 CheckCharOpCode() : RegExpOpCode(OP_CHECK_CHAR, RegExpOpCode::OP_SIZE_FIVE) {}
201 class LoopOpCode : public RegExpOpCode {
203 LoopOpCode() : RegExpOpCode(OP_LOOP, RegExpOpCode::OP_SIZE_THIRTEEN) {}
211 class LoopGreedyOpCode : public RegExpOpCode {
213 LoopGreedyOpCode() : RegExpOpCode(OP_LOOP_GREEDY, RegExpOpCode::OP_SIZE_THIRTEEN) {}
221 class SaveResetOpCode : public RegExpOpCode {
223 SaveResetOpCode() : RegExpOpCode(OP_SAVE_RESET, RegExpOpCode::OP_SIZE_THREE) {}
231 class MatchOpCode : public RegExpOpCode {
233 MatchOpCode() : RegExpOpCode(OP_MATCH, RegExpOpCode::OP_SIZE_ONE) {}
241 class MatchEndOpCode : public RegExpOpCode {
243 MatchEndOpCode() : RegExpOpCode(OP_MATCH_END, RegExpOpCode::OP_SIZE_ONE) {}
251 class LineStartOpCode : public RegExpOpCode {
253 LineStartOpCode() : RegExpOpCode(OP_LINE_START, RegExpOpCode::OP_SIZE_ONE) {}
261 class LineEndOpCode : public RegExpOpCode {
263 LineEndOpCode() : RegExpOpCode(OP_LINE_END, RegExpOpCode::OP_SIZE_ONE) {}
271 class WordBoundaryOpCode : public RegExpOpCode {
273 WordBoundaryOpCode() : RegExpOpCode(OP_WORD_BOUNDARY, RegExpOpCode::OP_SIZE_ONE) {}
281 class NotWordBoundaryOpCode : public RegExpOpCode {
283 NotWordBoundaryOpCode() : RegExpOpCode(OP_NOT_WORD_BOUNDARY, RegExpOpCode::OP_SIZE_ONE) {}
291 class AllOpCode : public RegExpOpCode {
293 AllOpCode() : RegExpOpCode(OP_ALL, RegExpOpCode::OP_SIZE_ONE) {}
301 class DotsOpCode : public RegExpOpCode {
303 DotsOpCode() : RegExpOpCode(OP_DOTS, RegExpOpCode::OP_SIZE_ONE) {}
375 class RangeOpCode : public RegExpOpCode {
377 RangeOpCode() : RegExpOpCode(OP_RANGE, RegExpOpCode::OP_SIZE_ONE) {}
385 class MatchAheadOpCode : public RegExpOpCode {
387 MatchAheadOpCode() : RegExpOpCode(OP_MATCH_AHEAD, RegExpOpCode::OP_SIZE_FIVE) {}
395 class NegativeMatchAheadOpCode : public RegExpOpCode {
397 NegativeMatchAheadOpCode() : RegExpOpCode(OP_NEGATIVE_MATCH_AHEAD, RegExpOpCode::OP_SIZE_FIVE) {}
405 class PrevOpCode : public RegExpOpCode {
407 PrevOpCode() : RegExpOpCode(OP_PREV, RegExpOpCode::OP_SIZE_ONE) {}
415 class BackReferenceOpCode : public RegExpOpCode {
417 BackReferenceOpCode() : RegExpOpCode(OP_BACKREFERENCE, RegExpOpCode::OP_SIZE_TWO) {}
425 class BackwardBackReferenceOpCode : public RegExpOpCode {
427 BackwardBackReferenceOpCode() : RegExpOpCode(OP_BACKWARD_BACKREFERENCE, RegExpOpCode::OP_SIZE_TWO) {}
435 class Char32OpCode : public RegExpOpCode {
437 Char32OpCode() : RegExpOpCode(OP_CHAR32, RegExpOpCode::OP_SIZE_FIVE) {}
445 class Range32OpCode : public RegExpOpCode {
447 Range32OpCode() : RegExpOpCode(OP_RANGE32, RegExpOpCode::OP_SIZE_ONE) {}
455 class SparseOpCode : public RegExpOpCode {
457 SparseOpCode() : RegExpOpCode(OP_RANGE32, RegExpOpCode::OP_SIZE_ONE) {}