Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::CatchEntryMovesMapBuilder::TrieNode Class Reference
Inheritance diagram for dart::CatchEntryMovesMapBuilder::TrieNode:
dart::ZoneAllocated

Public Member Functions

 TrieNode ()
 
 TrieNode (CatchEntryMove move, intptr_t index)
 
intptr_t Offset ()
 
TrieNodeInsert (TrieNode *node)
 
TrieNodeFollow (CatchEntryMove next)
 
- 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)
 

Detailed Description

Definition at line 159 of file code_descriptors.cc.

Constructor & Destructor Documentation

◆ TrieNode() [1/2]

dart::CatchEntryMovesMapBuilder::TrieNode::TrieNode ( )
inline

Definition at line 161 of file code_descriptors.cc.

161: move_(), entry_state_offset_(-1) {}

◆ TrieNode() [2/2]

dart::CatchEntryMovesMapBuilder::TrieNode::TrieNode ( CatchEntryMove  move,
intptr_t  index 
)
inline

Definition at line 162 of file code_descriptors.cc.

163 : move_(move), entry_state_offset_(index) {}

Member Function Documentation

◆ Follow()

TrieNode * dart::CatchEntryMovesMapBuilder::TrieNode::Follow ( CatchEntryMove  next)
inline

Definition at line 172 of file code_descriptors.cc.

172 {
173 for (intptr_t i = 0; i < children_.length(); i++) {
174 if (children_[i]->move_ == next) return children_[i];
175 }
176 return nullptr;
177 }
static float next(float f)

◆ Insert()

TrieNode * dart::CatchEntryMovesMapBuilder::TrieNode::Insert ( TrieNode node)
inline

Definition at line 167 of file code_descriptors.cc.

167 {
168 children_.Add(node);
169 return node;
170 }

◆ Offset()

intptr_t dart::CatchEntryMovesMapBuilder::TrieNode::Offset ( )
inline

Definition at line 165 of file code_descriptors.cc.

165{ return entry_state_offset_; }

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