OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/object.h" | 5 #include "vm/object.h" |
6 | 6 |
7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
(...skipping 8732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8743 String::Handle(MakeClassMetaName(Class::Handle(field.origin()))); | 8743 String::Handle(MakeClassMetaName(Class::Handle(field.origin()))); |
8744 String& fname = String::Handle(field.name()); | 8744 String& fname = String::Handle(field.name()); |
8745 fname = String::Concat(Symbols::At(), fname); | 8745 fname = String::Concat(Symbols::At(), fname); |
8746 return String::Concat(cname, fname); | 8746 return String::Concat(cname, fname); |
8747 } | 8747 } |
8748 | 8748 |
8749 | 8749 |
8750 static RawString* MakeFunctionMetaName(const Function& func) { | 8750 static RawString* MakeFunctionMetaName(const Function& func) { |
8751 const String& cname = | 8751 const String& cname = |
8752 String::Handle(MakeClassMetaName(Class::Handle(func.origin()))); | 8752 String::Handle(MakeClassMetaName(Class::Handle(func.origin()))); |
8753 String& fname = String::Handle(func.name()); | 8753 String& fname = String::Handle(func.QualifiedPrettyName()); |
8754 fname = String::Concat(Symbols::At(), fname); | 8754 fname = String::Concat(Symbols::At(), fname); |
8755 return String::Concat(cname, fname); | 8755 return String::Concat(cname, fname); |
8756 } | 8756 } |
8757 | 8757 |
8758 | 8758 |
8759 static RawString* MakeTypeParameterMetaName(const TypeParameter& param) { | 8759 static RawString* MakeTypeParameterMetaName(const TypeParameter& param) { |
8760 const String& cname = String::Handle( | 8760 const String& cname = String::Handle( |
8761 MakeClassMetaName(Class::Handle(param.parameterized_class()))); | 8761 MakeClassMetaName(Class::Handle(param.parameterized_class()))); |
8762 String& pname = String::Handle(param.name()); | 8762 String& pname = String::Handle(param.name()); |
8763 pname = String::Concat(Symbols::At(), pname); | 8763 pname = String::Concat(Symbols::At(), pname); |
(...skipping 11966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20730 return tag_label.ToCString(); | 20730 return tag_label.ToCString(); |
20731 } | 20731 } |
20732 | 20732 |
20733 | 20733 |
20734 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 20734 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
20735 Instance::PrintJSONImpl(stream, ref); | 20735 Instance::PrintJSONImpl(stream, ref); |
20736 } | 20736 } |
20737 | 20737 |
20738 | 20738 |
20739 } // namespace dart | 20739 } // namespace dart |
OLD | NEW |