Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
dart::RegExpEmpty Class Reference

#include <regexp_ast.h>

Inheritance diagram for dart::RegExpEmpty:
dart::RegExpTree dart::ZoneAllocated

Public Member Functions

 RegExpEmpty ()
 
virtual void * Accept (RegExpVisitor *visitor, void *data)
 
virtual RegExpNodeToNode (RegExpCompiler *compiler, RegExpNode *on_success)
 
virtual RegExpEmptyAsEmpty ()
 
virtual bool IsEmpty () const
 
virtual intptr_t min_match () const
 
virtual intptr_t max_match () const
 
- Public Member Functions inherited from dart::RegExpTree
virtual ~RegExpTree ()
 
virtual void * Accept (RegExpVisitor *visitor, void *data)=0
 
virtual RegExpNodeToNode (RegExpCompiler *compiler, RegExpNode *on_success)=0
 
virtual bool IsTextElement () const
 
virtual bool IsAnchoredAtStart () const
 
virtual bool IsAnchoredAtEnd () const
 
virtual intptr_t min_match () const =0
 
virtual intptr_t max_match () const =0
 
virtual Interval CaptureRegisters () const
 
virtual void AppendToText (RegExpText *text)
 
void Print ()
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Static Public Member Functions

static RegExpEmptyGetInstance ()
 

Additional Inherited Members

- Static Public Attributes inherited from dart::RegExpTree
static constexpr intptr_t kInfinity = kMaxInt32
 

Detailed Description

Definition at line 431 of file regexp_ast.h.

Constructor & Destructor Documentation

◆ RegExpEmpty()

dart::RegExpEmpty::RegExpEmpty ( )
inline

Definition at line 433 of file regexp_ast.h.

433{}

Member Function Documentation

◆ Accept()

virtual void * dart::RegExpEmpty::Accept ( RegExpVisitor visitor,
void *  data 
)
virtual

Implements dart::RegExpTree.

◆ AsEmpty()

virtual RegExpEmpty * dart::RegExpEmpty::AsEmpty ( )
virtual

◆ GetInstance()

static RegExpEmpty * dart::RegExpEmpty::GetInstance ( )
inlinestatic

Definition at line 440 of file regexp_ast.h.

440 {
441 static RegExpEmpty* instance = ::new RegExpEmpty();
442 return instance;
443 }
VkInstance instance
Definition: main.cc:48

◆ IsEmpty()

virtual bool dart::RegExpEmpty::IsEmpty ( ) const
virtual

◆ max_match()

virtual intptr_t dart::RegExpEmpty::max_match ( ) const
inlinevirtual

Implements dart::RegExpTree.

Definition at line 439 of file regexp_ast.h.

439{ return 0; }

◆ min_match()

virtual intptr_t dart::RegExpEmpty::min_match ( ) const
inlinevirtual

Implements dart::RegExpTree.

Definition at line 438 of file regexp_ast.h.

438{ return 0; }

◆ ToNode()

RegExpNode * dart::RegExpEmpty::ToNode ( RegExpCompiler compiler,
RegExpNode on_success 
)
virtual

Implements dart::RegExpTree.

Definition at line 4496 of file regexp.cc.

4497 {
4498 return on_success;
4499}

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