#include <object.h>
Definition at line 12702 of file object.h.
◆ Flags
Enumerator |
---|
kNone | |
kGlobal | |
kIgnoreCase | |
kMultiLine | |
kUnicode | |
kDotAll | |
Definition at line 12708 of file object.h.
◆ RegExpFlags() [1/2]
dart::RegExpFlags::RegExpFlags |
( |
| ) |
|
|
inline |
Definition at line 12719 of file object.h.
static constexpr int kDefaultFlags
◆ RegExpFlags() [2/2]
dart::RegExpFlags::RegExpFlags |
( |
int |
value | ) |
|
|
inlineexplicit |
◆ IgnoreCase()
bool dart::RegExpFlags::IgnoreCase |
( |
| ) |
const |
|
inline |
◆ IsDotAll()
bool dart::RegExpFlags::IsDotAll |
( |
| ) |
const |
|
inline |
◆ IsGlobal()
bool dart::RegExpFlags::IsGlobal |
( |
| ) |
const |
|
inline |
◆ IsMultiLine()
bool dart::RegExpFlags::IsMultiLine |
( |
| ) |
const |
|
inline |
◆ IsUnicode()
bool dart::RegExpFlags::IsUnicode |
( |
| ) |
const |
|
inline |
◆ NeedsUnicodeCaseEquivalents()
bool dart::RegExpFlags::NeedsUnicodeCaseEquivalents |
( |
| ) |
|
|
inline |
Definition at line 12728 of file object.h.
12728 {
12729
12730
12732 }
◆ operator!=()
bool dart::RegExpFlags::operator!= |
( |
const RegExpFlags & |
other | ) |
const |
|
inline |
Definition at line 12747 of file object.h.
12747 {
12748 return value_ != other.value_;
12749 }
◆ operator==()
bool dart::RegExpFlags::operator== |
( |
const RegExpFlags & |
other | ) |
const |
|
inline |
Definition at line 12744 of file object.h.
12744 {
12745 return value_ == other.value_;
12746 }
◆ SetDotAll()
void dart::RegExpFlags::SetDotAll |
( |
| ) |
|
|
inline |
◆ SetGlobal()
void dart::RegExpFlags::SetGlobal |
( |
| ) |
|
|
inline |
◆ SetIgnoreCase()
void dart::RegExpFlags::SetIgnoreCase |
( |
| ) |
|
|
inline |
◆ SetMultiLine()
void dart::RegExpFlags::SetMultiLine |
( |
| ) |
|
|
inline |
◆ SetUnicode()
void dart::RegExpFlags::SetUnicode |
( |
| ) |
|
|
inline |
◆ ToCString()
const char * dart::RegExpFlags::ToCString |
( |
| ) |
const |
Definition at line 26686 of file object.cc.
26686 {
26689 return "imsu";
26691 return "ims";
26693 return "imu";
26695 return "ius";
26697 return "msu";
26699 return "im";
26701 return "is";
26703 return "iu";
26705 return "ms";
26707 return "mu";
26709 return "su";
26711 return "i";
26713 return "m";
26715 return "s";
26717 return "u";
26718 default:
26719 break;
26720 }
26721 return "";
26722}
◆ value()
int dart::RegExpFlags::value |
( |
| ) |
const |
|
inline |
◆ kDefaultFlags
constexpr int dart::RegExpFlags::kDefaultFlags = 0 |
|
staticconstexpr |
The documentation for this class was generated from the following files:
- third_party/dart-lang/sdk/runtime/vm/object.h
- third_party/dart-lang/sdk/runtime/vm/object.cc