Home
last modified time | relevance | path

Searched refs:ActionNode (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/v8/src/regexp/
Dregexp-dotprinter.cc198 void DotPrinterImpl::VisitAction(ActionNode* that) { in VisitAction()
201 case ActionNode::SET_REGISTER_FOR_LOOP: in VisitAction()
205 case ActionNode::INCREMENT_REGISTER: in VisitAction()
209 case ActionNode::STORE_POSITION: in VisitAction()
213 case ActionNode::BEGIN_POSITIVE_SUBMATCH: in VisitAction()
217 case ActionNode::BEGIN_NEGATIVE_SUBMATCH: in VisitAction()
221 case ActionNode::POSITIVE_SUBMATCH_SUCCESS: in VisitAction()
224 case ActionNode::EMPTY_MATCH_CHECK: in VisitAction()
230 case ActionNode::CLEAR_CAPTURES: { in VisitAction()
Dregexp-compiler.cc296 if (action_type() == ActionNode::CLEAR_CAPTURES) { in Mentions()
317 if (action->action_type() == ActionNode::STORE_POSITION) { in GetStoredPosition()
366 if (action->action_type() == ActionNode::CLEAR_CAPTURES) { in FindAffectedRegisters()
428 case ActionNode::SET_REGISTER_FOR_LOOP: { in PerformDeferredActions()
445 case ActionNode::INCREMENT_REGISTER: in PerformDeferredActions()
453 case ActionNode::STORE_POSITION: { in PerformDeferredActions()
476 case ActionNode::CLEAR_CAPTURES: { in PerformDeferredActions()
639 ActionNode* ActionNode::SetRegisterForLoop(int reg, int val, in SetRegisterForLoop()
641 ActionNode* result = in SetRegisterForLoop()
642 on_success->zone()->New<ActionNode>(SET_REGISTER_FOR_LOOP, on_success); in SetRegisterForLoop()
[all …]
Dregexp-nodes.h313 class ActionNode : public SeqRegExpNode {
325 static ActionNode* SetRegisterForLoop(int reg, int val,
327 static ActionNode* IncrementRegister(int reg, RegExpNode* on_success);
328 static ActionNode* StorePosition(int reg, bool is_capture,
330 static ActionNode* ClearCaptures(Interval range, RegExpNode* on_success);
331 static ActionNode* BeginPositiveSubmatch(int stack_pointer_reg,
334 static ActionNode* BeginNegativeSubmatch(int stack_pointer_reg,
337 static ActionNode* PositiveSubmatchSuccess(int stack_pointer_reg,
342 static ActionNode* EmptyMatchCheck(int start_register,
388 ActionNode(ActionType action_type, RegExpNode* on_success) in ActionNode() function
Dregexp-compiler.h237 DeferredAction(ActionNode::ActionType action_type, int reg) in DeferredAction()
242 ActionNode::ActionType action_type() { return action_type_; } in action_type()
245 ActionNode::ActionType action_type_;
254 : DeferredAction(ActionNode::STORE_POSITION, reg), in DeferredCapture()
269 : DeferredAction(ActionNode::SET_REGISTER_FOR_LOOP, reg), in DeferredSetRegisterForLoop()
280 : DeferredAction(ActionNode::CLEAR_CAPTURES, -1), range_(range) {} in DeferredClearCaptures()
290 : DeferredAction(ActionNode::INCREMENT_REGISTER, reg) {} in DeferredIncrementRegister()
Dregexp-compiler-tonode.cc929 ActionNode::PositiveSubmatchSuccess( in RationalizeConsecutiveAtoms()
935 RegExpNode* end_of_line = ActionNode::BeginPositiveSubmatch( in RationalizeConsecutiveAtoms()
977 on_match_success_ = ActionNode::PositiveSubmatchSuccess( in RationalizeConsecutiveAtoms()
990 return ActionNode::BeginPositiveSubmatch(stack_pointer_register_, in RationalizeConsecutiveAtoms()
1001 return ActionNode::BeginNegativeSubmatch(stack_pointer_register_, in RationalizeConsecutiveAtoms()
1040 RegExpNode* store_end = ActionNode::StorePosition(end_reg, true, on_success); in RationalizeConsecutiveAtoms()
1042 return ActionNode::StorePosition(start_reg, true, body_node); in RationalizeConsecutiveAtoms()
1679 ActionNode::IncrementRegister(reg_ctr, center)) in RationalizeConsecutiveAtoms()
1685 ActionNode::EmptyMatchCheck(body_start_reg, reg_ctr, min, loop_return); in RationalizeConsecutiveAtoms()
1691 body_node = ActionNode::StorePosition(body_start_reg, false, body_node); in RationalizeConsecutiveAtoms()
[all …]