#include <regexp_ast.h>
Definition at line 128 of file regexp_ast.h.
◆ CharacterSet() [1/3]
dart::CharacterSet::CharacterSet |
( |
uint16_t |
standard_set_type | ) |
|
|
inlineexplicit |
Definition at line 130 of file regexp_ast.h.
uint16_t standard_set_type() const
◆ CharacterSet() [2/3]
Definition at line 132 of file regexp_ast.h.
133 : ranges_(
ranges), standard_set_type_(0) {}
ZoneGrowableArray< CharacterRange > * ranges()
◆ CharacterSet() [3/3]
dart::CharacterSet::CharacterSet |
( |
const CharacterSet & |
that | ) |
|
|
inline |
Definition at line 134 of file regexp_ast.h.
136 ranges_(that.ranges_),
137 standard_set_type_(that.standard_set_type_) {}
◆ Canonicalize()
void dart::CharacterSet::Canonicalize |
( |
| ) |
|
Definition at line 4869 of file regexp.cc.
4869 {
4870
4871
4872 if (ranges_ == nullptr) return;
4874}
static void Canonicalize(ZoneGrowableArray< CharacterRange > *ranges)
◆ is_standard()
bool dart::CharacterSet::is_standard |
( |
| ) |
|
|
inline |
Definition at line 143 of file regexp_ast.h.
143{ return standard_set_type_ != 0; }
◆ ranges()
Definition at line 4785 of file regexp.cc.
4785 {
4786 if (ranges_ == nullptr) {
4787 ranges_ = new ZoneGrowableArray<CharacterRange>(2);
4789 }
4790 return ranges_;
4791}
static void AddClassEscape(uint16_t type, ZoneGrowableArray< CharacterRange > *ranges)
◆ set_standard_set_type()
void dart::CharacterSet::set_standard_set_type |
( |
uint16_t |
special_set_type | ) |
|
|
inline |
Definition at line 140 of file regexp_ast.h.
140 {
141 standard_set_type_ = special_set_type;
142 }
◆ standard_set_type()
uint16_t dart::CharacterSet::standard_set_type |
( |
| ) |
const |
|
inline |
Definition at line 139 of file regexp_ast.h.
139{ return standard_set_type_; }
The documentation for this class was generated from the following files: