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