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 #ifndef VM_SYMBOLS_H_ | 5 #ifndef VM_SYMBOLS_H_ |
6 #define VM_SYMBOLS_H_ | 6 #define VM_SYMBOLS_H_ |
7 | 7 |
8 #include "vm/growable_array.h" | 8 #include "vm/growable_array.h" |
9 #include "vm/object.h" | 9 #include "vm/object.h" |
10 #include "vm/snapshot_ids.h" | 10 #include "vm/snapshot_ids.h" |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 // used in generated dart code for direct access to these objects. | 669 // used in generated dart code for direct access to these objects. |
670 static RawString* predefined_[kNumberOfOneCharCodeSymbols]; | 670 static RawString* predefined_[kNumberOfOneCharCodeSymbols]; |
671 | 671 |
672 // List of handles for predefined symbols. | 672 // List of handles for predefined symbols. |
673 static String* symbol_handles_[kMaxPredefinedId]; | 673 static String* symbol_handles_[kMaxPredefinedId]; |
674 | 674 |
675 friend class Dart; | 675 friend class Dart; |
676 friend class String; | 676 friend class String; |
677 friend class SnapshotReader; | 677 friend class SnapshotReader; |
678 friend class SnapshotWriter; | 678 friend class SnapshotWriter; |
| 679 friend class Serializer; |
| 680 friend class Deserializer; |
679 friend class ApiMessageReader; | 681 friend class ApiMessageReader; |
680 | 682 |
681 DISALLOW_COPY_AND_ASSIGN(Symbols); | 683 DISALLOW_COPY_AND_ASSIGN(Symbols); |
682 }; | 684 }; |
683 | 685 |
684 } // namespace dart | 686 } // namespace dart |
685 | 687 |
686 #endif // VM_SYMBOLS_H_ | 688 #endif // VM_SYMBOLS_H_ |
OLD | NEW |