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/object.h" | 8 #include "vm/object.h" |
9 #include "vm/snapshot_ids.h" | 9 #include "vm/snapshot_ids.h" |
10 | 10 |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 } | 496 } |
497 static const String& Backtick() { | 497 static const String& Backtick() { |
498 return *(symbol_handles_[kNullCharId + '`']); | 498 return *(symbol_handles_[kNullCharId + '`']); |
499 } | 499 } |
500 static const String& Slash() { | 500 static const String& Slash() { |
501 return *(symbol_handles_[kNullCharId + '/']); | 501 return *(symbol_handles_[kNullCharId + '/']); |
502 } | 502 } |
503 static const String& At() { | 503 static const String& At() { |
504 return *(symbol_handles_[kNullCharId + '@']); | 504 return *(symbol_handles_[kNullCharId + '@']); |
505 } | 505 } |
| 506 static const String& HashMark() { |
| 507 return *(symbol_handles_[kNullCharId + '#']); |
| 508 } |
506 static const String& Semicolon() { | 509 static const String& Semicolon() { |
507 return *(symbol_handles_[kNullCharId + ';']); | 510 return *(symbol_handles_[kNullCharId + ';']); |
508 } | 511 } |
509 static const String& Star() { | 512 static const String& Star() { |
510 return *(symbol_handles_[kNullCharId + '*']); | 513 return *(symbol_handles_[kNullCharId + '*']); |
511 } | 514 } |
512 static const String& Percent() { | 515 static const String& Percent() { |
513 return *(symbol_handles_[kNullCharId + '%']); | 516 return *(symbol_handles_[kNullCharId + '%']); |
514 } | 517 } |
515 static const String& Caret() { | 518 static const String& Caret() { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 friend class SnapshotReader; | 630 friend class SnapshotReader; |
628 friend class SnapshotWriter; | 631 friend class SnapshotWriter; |
629 friend class ApiMessageReader; | 632 friend class ApiMessageReader; |
630 | 633 |
631 DISALLOW_COPY_AND_ASSIGN(Symbols); | 634 DISALLOW_COPY_AND_ASSIGN(Symbols); |
632 }; | 635 }; |
633 | 636 |
634 } // namespace dart | 637 } // namespace dart |
635 | 638 |
636 #endif // VM_SYMBOLS_H_ | 639 #endif // VM_SYMBOLS_H_ |
OLD | NEW |