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 7136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7147 return "RedirectionData class"; | 7147 return "RedirectionData class"; |
7148 } | 7148 } |
7149 | 7149 |
7150 | 7150 |
7151 void RedirectionData::PrintJSONImpl(JSONStream* stream, bool ref) const { | 7151 void RedirectionData::PrintJSONImpl(JSONStream* stream, bool ref) const { |
7152 Object::PrintJSONImpl(stream, ref); | 7152 Object::PrintJSONImpl(stream, ref); |
7153 } | 7153 } |
7154 | 7154 |
7155 | 7155 |
7156 RawString* Field::GetterName(const String& field_name) { | 7156 RawString* Field::GetterName(const String& field_name) { |
7157 return String::Concat(Symbols::GetterPrefix(), field_name); | 7157 return Field::GetterSymbol(field_name); |
7158 } | 7158 } |
7159 | 7159 |
7160 | 7160 |
7161 RawString* Field::GetterSymbol(const String& field_name) { | 7161 RawString* Field::GetterSymbol(const String& field_name) { |
7162 return Symbols::FromConcat(Symbols::GetterPrefix(), field_name); | 7162 return Symbols::FromConcat(Symbols::GetterPrefix(), field_name); |
7163 } | 7163 } |
7164 | 7164 |
7165 | 7165 |
7166 RawString* Field::SetterName(const String& field_name) { | 7166 RawString* Field::SetterName(const String& field_name) { |
7167 return String::Concat(Symbols::SetterPrefix(), field_name); | 7167 return String::Concat(Symbols::SetterPrefix(), field_name); |
(...skipping 14247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21415 return tag_label.ToCString(); | 21415 return tag_label.ToCString(); |
21416 } | 21416 } |
21417 | 21417 |
21418 | 21418 |
21419 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 21419 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
21420 Instance::PrintJSONImpl(stream, ref); | 21420 Instance::PrintJSONImpl(stream, ref); |
21421 } | 21421 } |
21422 | 21422 |
21423 | 21423 |
21424 } // namespace dart | 21424 } // namespace dart |
OLD | NEW |