V8 Project
v8::internal::GreedyLoopState Class Reference

#include <jsregexp.h>

+ Collaboration diagram for v8::internal::GreedyLoopState:

Public Member Functions

 GreedyLoopState (bool not_at_start)
 
Label * label ()
 
Tracecounter_backtrack_trace ()
 

Private Attributes

Label label_
 
Trace counter_backtrack_trace_
 

Detailed Description

Definition at line 1516 of file jsregexp.h.

Constructor & Destructor Documentation

◆ GreedyLoopState()

v8::internal::GreedyLoopState::GreedyLoopState ( bool  not_at_start)
explicit

Definition at line 3894 of file jsregexp.cc.

3894  {
3896  if (not_at_start) counter_backtrack_trace_.set_at_start(false);
3897 }
void set_at_start(bool at_start)
Definition: jsregexp.h:1457
void set_backtrack(Label *backtrack)
Definition: jsregexp.h:1479

References counter_backtrack_trace_, label_, v8::internal::Trace::set_at_start(), and v8::internal::Trace::set_backtrack().

+ Here is the call graph for this function:

Member Function Documentation

◆ counter_backtrack_trace()

Trace* v8::internal::GreedyLoopState::counter_backtrack_trace ( )
inline

Definition at line 1521 of file jsregexp.h.

1521 { return &counter_backtrack_trace_; }

References counter_backtrack_trace_.

Referenced by v8::internal::ChoiceNode::EmitGreedyLoop().

+ Here is the caller graph for this function:

◆ label()

Label* v8::internal::GreedyLoopState::label ( )
inline

Definition at line 1520 of file jsregexp.h.

1520 { return &label_; }

References label_.

Referenced by v8::internal::ChoiceNode::EmitGreedyLoop().

+ Here is the caller graph for this function:

Member Data Documentation

◆ counter_backtrack_trace_

Trace v8::internal::GreedyLoopState::counter_backtrack_trace_
private

Definition at line 1525 of file jsregexp.h.

Referenced by counter_backtrack_trace(), and GreedyLoopState().

◆ label_

Label v8::internal::GreedyLoopState::label_
private

Definition at line 1524 of file jsregexp.h.

Referenced by GreedyLoopState(), and label().


The documentation for this class was generated from the following files: