#include <object.h>
Definition at line 12676 of file object.h.
◆ Flags
Enumerator |
---|
kNone | |
kGlobal | |
kIgnoreCase | |
kMultiLine | |
kUnicode | |
kDotAll | |
Definition at line 12682 of file object.h.
◆ RegExpFlags() [1/2]
dart::RegExpFlags::RegExpFlags |
( |
| ) |
|
|
inline |
Definition at line 12693 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 12702 of file object.h.
12702 {
12703
12704
12706 }
◆ operator!=()
bool dart::RegExpFlags::operator!= |
( |
const RegExpFlags & |
other | ) |
const |
|
inline |
Definition at line 12721 of file object.h.
12721 {
12722 return value_ != other.value_;
12723 }
◆ operator==()
bool dart::RegExpFlags::operator== |
( |
const RegExpFlags & |
other | ) |
const |
|
inline |
Definition at line 12718 of file object.h.
12718 {
12719 return value_ == other.value_;
12720 }
◆ 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 26765 of file object.cc.
26765 {
26768 return "imsu";
26770 return "ims";
26772 return "imu";
26774 return "ius";
26776 return "msu";
26778 return "im";
26780 return "is";
26782 return "iu";
26784 return "ms";
26786 return "mu";
26788 return "su";
26790 return "i";
26792 return "m";
26794 return "s";
26796 return "u";
26797 default:
26798 break;
26799 }
26800 return "";
26801}
◆ 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