Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::ChoiceTable::Entry Class Reference

#include <regexp.h>

Public Member Functions

 Entry ()
 
 Entry (int32_t from, int32_t to, OutSet *out_set)
 
int32_t from ()
 
int32_t to ()
 
void set_to (int32_t value)
 
void AddValue (int value, Zone *zone)
 
OutSetout_set ()
 

Detailed Description

Definition at line 124 of file regexp.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

dart::ChoiceTable::Entry::Entry ( )
inline

Definition at line 126 of file regexp.h.

126: from_(0), to_(0), out_set_(nullptr) {}

◆ Entry() [2/2]

dart::ChoiceTable::Entry::Entry ( int32_t  from,
int32_t  to,
OutSet out_set 
)
inline

Definition at line 127 of file regexp.h.

128 : from_(from), to_(to), out_set_(out_set) {
129 ASSERT(from <= to);
130 }
OutSet * out_set()
Definition: regexp.h:137
#define ASSERT(E)

Member Function Documentation

◆ AddValue()

void dart::ChoiceTable::Entry::AddValue ( int  value,
Zone zone 
)
inline

Definition at line 134 of file regexp.h.

134 {
135 out_set_ = out_set_->Extend(value, zone);
136 }
OutSet * Extend(unsigned value, Zone *zone)
Definition: regexp.cc:4947
uint8_t value

◆ from()

int32_t dart::ChoiceTable::Entry::from ( )
inline

Definition at line 131 of file regexp.h.

131{ return from_; }

◆ out_set()

OutSet * dart::ChoiceTable::Entry::out_set ( )
inline

Definition at line 137 of file regexp.h.

137{ return out_set_; }

◆ set_to()

void dart::ChoiceTable::Entry::set_to ( int32_t  value)
inline

Definition at line 133 of file regexp.h.

133{ to_ = value; }

◆ to()

int32_t dart::ChoiceTable::Entry::to ( )
inline

Definition at line 132 of file regexp.h.

132{ return to_; }

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