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

Unified Diff: runtime/vm/object.cc

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
« no previous file with comments | « runtime/observatory/tests/service/get_version_rpc_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index d84a6209140f27ea2d3bf814c8ca7e5af2ce7494..c0b9241577e3d24ef7342da39158bf3b0c12fdb3 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -21128,6 +21128,9 @@ void JSRegExp::PrintJSONImpl(JSONStream* stream, bool ref) const {
return;
}
+ jsobj.AddProperty("isCaseSensitive", !is_ignore_case());
+ jsobj.AddProperty("isMultiLine", is_multi_line());
+
Function& func = Function::Handle();
func = function(kOneByteStringCid);
jsobj.AddProperty("_oneByteFunction", func);
« no previous file with comments | « runtime/observatory/tests/service/get_version_rpc_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698