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

Side by Side Diff: runtime/vm/object_service.cc

Issue 1815333002: Simpler regex names: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/debugger.h" 5 #include "vm/debugger.h"
6 #include "vm/disassembler.h" 6 #include "vm/disassembler.h"
7 #include "vm/object.h" 7 #include "vm/object.h"
8 #include "vm/object_store.h" 8 #include "vm/object_store.h"
9 #include "vm/stub_code.h" 9 #include "vm/stub_code.h"
10 #include "vm/symbols.h" 10 #include "vm/symbols.h"
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 void Stacktrace::PrintJSONImpl(JSONStream* stream, bool ref) const { 1511 void Stacktrace::PrintJSONImpl(JSONStream* stream, bool ref) const {
1512 JSONObject jsobj(stream); 1512 JSONObject jsobj(stream);
1513 PrintSharedInstanceJSON(&jsobj, ref); 1513 PrintSharedInstanceJSON(&jsobj, ref);
1514 jsobj.AddProperty("kind", "StackTrace"); 1514 jsobj.AddProperty("kind", "StackTrace");
1515 jsobj.AddServiceId(*this); 1515 jsobj.AddServiceId(*this);
1516 intptr_t idx = 0; 1516 intptr_t idx = 0;
1517 jsobj.AddProperty("valueAsString", ToCStringInternal(&idx)); 1517 jsobj.AddProperty("valueAsString", ToCStringInternal(&idx));
1518 } 1518 }
1519 1519
1520 1520
1521 void JSRegExp::PrintJSONImpl(JSONStream* stream, bool ref) const { 1521 void RegExp::PrintJSONImpl(JSONStream* stream, bool ref) const {
1522 JSONObject jsobj(stream); 1522 JSONObject jsobj(stream);
1523 PrintSharedInstanceJSON(&jsobj, ref); 1523 PrintSharedInstanceJSON(&jsobj, ref);
1524 jsobj.AddProperty("kind", "RegExp"); 1524 jsobj.AddProperty("kind", "RegExp");
1525 jsobj.AddServiceId(*this); 1525 jsobj.AddServiceId(*this);
1526 1526
1527 jsobj.AddProperty("pattern", String::Handle(pattern())); 1527 jsobj.AddProperty("pattern", String::Handle(pattern()));
1528 1528
1529 if (ref) { 1529 if (ref) {
1530 return; 1530 return;
1531 } 1531 }
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 jsobj.AddProperty("mirrorReferent", referent_handle); 1575 jsobj.AddProperty("mirrorReferent", referent_handle);
1576 } 1576 }
1577 1577
1578 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 1578 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
1579 Instance::PrintJSONImpl(stream, ref); 1579 Instance::PrintJSONImpl(stream, ref);
1580 } 1580 }
1581 1581
1582 #endif 1582 #endif
1583 1583
1584 } // namespace dart 1584 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698