Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
dart::NodeInfo Struct Reference

#include <regexp.h>

Public Member Functions

 NodeInfo ()
 
bool Matches (NodeInfo *that)
 
void AddFromPreceding (NodeInfo *that)
 
bool HasLookbehind ()
 
void AddFromFollowing (NodeInfo *that)
 
void ResetCompilationState ()
 

Public Attributes

bool being_analyzed: 1
 
bool been_analyzed: 1
 
bool follows_word_interest: 1
 
bool follows_newline_interest: 1
 
bool follows_start_interest: 1
 
bool at_end: 1
 
bool visited: 1
 
bool replacement_calculated: 1
 

Detailed Description

Definition at line 276 of file regexp.h.

Constructor & Destructor Documentation

◆ NodeInfo()

dart::NodeInfo::NodeInfo ( )
inline

Definition at line 277 of file regexp.h.

278 : being_analyzed(false),
279 been_analyzed(false),
283 at_end(false),
284 visited(false),
285 replacement_calculated(false) {}
bool been_analyzed
Definition: regexp.h:324
bool visited
Definition: regexp.h:333
bool being_analyzed
Definition: regexp.h:323
bool follows_word_interest
Definition: regexp.h:328
bool follows_newline_interest
Definition: regexp.h:329
bool replacement_calculated
Definition: regexp.h:334
bool at_end
Definition: regexp.h:332
bool follows_start_interest
Definition: regexp.h:330

Member Function Documentation

◆ AddFromFollowing()

void dart::NodeInfo::AddFromFollowing ( NodeInfo that)
inline

Definition at line 312 of file regexp.h.

312 {
313 follows_word_interest |= that->follows_word_interest;
314 follows_newline_interest |= that->follows_newline_interest;
315 follows_start_interest |= that->follows_start_interest;
316 }

◆ AddFromPreceding()

void dart::NodeInfo::AddFromPreceding ( NodeInfo that)
inline

Definition at line 298 of file regexp.h.

298 {
299 at_end |= that->at_end;
300 follows_word_interest |= that->follows_word_interest;
301 follows_newline_interest |= that->follows_newline_interest;
302 follows_start_interest |= that->follows_start_interest;
303 }

◆ HasLookbehind()

bool dart::NodeInfo::HasLookbehind ( )
inline

Definition at line 305 of file regexp.h.

◆ Matches()

bool dart::NodeInfo::Matches ( NodeInfo that)
inline

Definition at line 289 of file regexp.h.

289 {
290 return (at_end == that->at_end) &&
291 (follows_word_interest == that->follows_word_interest) &&
292 (follows_newline_interest == that->follows_newline_interest) &&
293 (follows_start_interest == that->follows_start_interest);
294 }

◆ ResetCompilationState()

void dart::NodeInfo::ResetCompilationState ( )
inline

Definition at line 318 of file regexp.h.

318 {
319 being_analyzed = false;
320 been_analyzed = false;
321 }

Member Data Documentation

◆ at_end

bool dart::NodeInfo::at_end

Definition at line 332 of file regexp.h.

◆ been_analyzed

bool dart::NodeInfo::been_analyzed

Definition at line 324 of file regexp.h.

◆ being_analyzed

bool dart::NodeInfo::being_analyzed

Definition at line 323 of file regexp.h.

◆ follows_newline_interest

bool dart::NodeInfo::follows_newline_interest

Definition at line 329 of file regexp.h.

◆ follows_start_interest

bool dart::NodeInfo::follows_start_interest

Definition at line 330 of file regexp.h.

◆ follows_word_interest

bool dart::NodeInfo::follows_word_interest

Definition at line 328 of file regexp.h.

◆ replacement_calculated

bool dart::NodeInfo::replacement_calculated

Definition at line 334 of file regexp.h.

◆ visited

bool dart::NodeInfo::visited

Definition at line 333 of file regexp.h.


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