Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Side by Side Diff: runtime/vm/symbols.h

Issue 1234883005: Implement tear-off closure operator # (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 } 495 }
496 static const String& Backtick() { 496 static const String& Backtick() {
497 return *(symbol_handles_[kNullCharId + '`']); 497 return *(symbol_handles_[kNullCharId + '`']);
498 } 498 }
499 static const String& Slash() { 499 static const String& Slash() {
500 return *(symbol_handles_[kNullCharId + '/']); 500 return *(symbol_handles_[kNullCharId + '/']);
501 } 501 }
502 static const String& At() { 502 static const String& At() {
503 return *(symbol_handles_[kNullCharId + '@']); 503 return *(symbol_handles_[kNullCharId + '@']);
504 } 504 }
505 static const String& HashMark() {
506 return *(symbol_handles_[kNullCharId + '#']);
507 }
505 static const String& Semicolon() { 508 static const String& Semicolon() {
506 return *(symbol_handles_[kNullCharId + ';']); 509 return *(symbol_handles_[kNullCharId + ';']);
507 } 510 }
508 static const String& Star() { 511 static const String& Star() {
509 return *(symbol_handles_[kNullCharId + '*']); 512 return *(symbol_handles_[kNullCharId + '*']);
510 } 513 }
511 static const String& Percent() { 514 static const String& Percent() {
512 return *(symbol_handles_[kNullCharId + '%']); 515 return *(symbol_handles_[kNullCharId + '%']);
513 } 516 }
514 static const String& Caret() { 517 static const String& Caret() {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 friend class SnapshotReader; 629 friend class SnapshotReader;
627 friend class SnapshotWriter; 630 friend class SnapshotWriter;
628 friend class ApiMessageReader; 631 friend class ApiMessageReader;
629 632
630 DISALLOW_COPY_AND_ASSIGN(Symbols); 633 DISALLOW_COPY_AND_ASSIGN(Symbols);
631 }; 634 };
632 635
633 } // namespace dart 636 } // namespace dart
634 637
635 #endif // VM_SYMBOLS_H_ 638 #endif // VM_SYMBOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698