V8 Project
v8::internal::RegExpStackScope Class Reference

#include <regexp-stack.h>

+ Collaboration diagram for v8::internal::RegExpStackScope:

Public Member Functions

 RegExpStackScope (Isolate *isolate)
 
 ~RegExpStackScope ()
 
RegExpStackstack () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (RegExpStackScope)
 

Private Attributes

RegExpStackregexp_stack_
 

Detailed Description

Definition at line 18 of file regexp-stack.h.

Constructor & Destructor Documentation

◆ RegExpStackScope()

v8::internal::RegExpStackScope::RegExpStackScope ( Isolate isolate)
explicit

Definition at line 12 of file regexp-stack.cc.

13  : regexp_stack_(isolate->regexp_stack()) {
14  // Initialize, if not already initialized.
16 }
Address EnsureCapacity(size_t size)
Definition: regexp-stack.cc:66

References v8::internal::RegExpStack::EnsureCapacity(), and regexp_stack_.

+ Here is the call graph for this function:

◆ ~RegExpStackScope()

v8::internal::RegExpStackScope::~RegExpStackScope ( )

Definition at line 19 of file regexp-stack.cc.

19  {
20  // Reset the buffer if it has grown.
22 }

References regexp_stack_, and v8::internal::RegExpStack::Reset().

+ Here is the call graph for this function:

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::RegExpStackScope::DISALLOW_COPY_AND_ASSIGN ( RegExpStackScope  )
private

◆ stack()

RegExpStack* v8::internal::RegExpStackScope::stack ( ) const
inline

Definition at line 26 of file regexp-stack.h.

26 { return regexp_stack_; }

References regexp_stack_.

Referenced by v8::internal::NativeRegExpMacroAssembler::Execute().

+ Here is the caller graph for this function:

Member Data Documentation

◆ regexp_stack_

RegExpStack* v8::internal::RegExpStackScope::regexp_stack_
private

Definition at line 29 of file regexp-stack.h.

Referenced by RegExpStackScope(), stack(), and ~RegExpStackScope().


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