Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 1284063003: Add Regex isCaseSensitive and isMultiLine to the service protocol and Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 3c8e6394b081c47e63d1f38c7d9aec5087b30d1d..68e696e3ae8f8e832951388411705c529ce317f3 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -2155,6 +2155,8 @@ class Instance extends ServiceObject {
@observable Function twoByteFunction; // If a RegExp.
@observable Function externalOneByteFunction; // If a RegExp.
@observable Function externalTwoByteFunction; // If a RegExp.
+ @observable bool isCaseSensitive; // If a RegExp.
+ @observable bool isMultiLine; // If a RegExp.
bool get isAbstractType {
return (kind == 'Type' || kind == 'TypeRef' ||
@@ -2215,6 +2217,8 @@ class Instance extends ServiceObject {
size = map['size'];
+ isCaseSensitive = map['isCaseSensitive'];
+ isMultiLine = map['isMultiLine'];
oneByteFunction = map['_oneByteFunction'];
twoByteFunction = map['_twoByteFunction'];
externalOneByteFunction = map['_externalOneByteFunction'];
« no previous file with comments | « runtime/observatory/lib/src/elements/instance_view.html ('k') | runtime/observatory/tests/service/get_version_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698