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

Side by Side Diff: src/shared/names.h

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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
« no previous file with comments | « src/shared/list.h ('k') | src/shared/native_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dartino 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 #ifndef SRC_SHARED_NAMES_H_ 5 #ifndef SRC_SHARED_NAMES_H_
6 #define SRC_SHARED_NAMES_H_ 6 #define SRC_SHARED_NAMES_H_
7 7
8 namespace fletch { 8 namespace dartino {
9 9
10 #define NAMES_LIST(N) \ 10 #define NAMES_LIST(N) \
11 N(Illegal, "<illegal>") \ 11 N(Illegal, "<illegal>") \
12 N(Object, "Object") \ 12 N(Object, "Object") \
13 N(Bool, "bool") \ 13 N(Bool, "bool") \
14 N(Null, "Null") \ 14 N(Null, "Null") \
15 N(Double, "_DoubleImpl") \ 15 N(Double, "_DoubleImpl") \
16 N(Int, "int") \ 16 N(Int, "int") \
17 N(Smi, "_Smi") \ 17 N(Smi, "_Smi") \
18 N(Mint, "_Mint") \ 18 N(Mint, "_Mint") \
19 N(ConstantList, "_ConstantList") \ 19 N(ConstantList, "_ConstantList") \
20 N(ConstantByteList, "_ConstantByteList") \ 20 N(ConstantByteList, "_ConstantByteList") \
21 N(ConstantMap, "_ConstantMap") \ 21 N(ConstantMap, "_ConstantMap") \
22 N(Num, "num") \ 22 N(Num, "num") \
23 N(Coroutine, "Coroutine") \ 23 N(Coroutine, "Coroutine") \
24 N(Port, "Port") \ 24 N(Port, "Port") \
25 N(Process, "Process") \ 25 N(Process, "Process") \
26 N(ProcessDeath, "ProcessDeath") \ 26 N(ProcessDeath, "ProcessDeath") \
27 N(ForeignMemory, "ForeignMemory") \ 27 N(ForeignMemory, "ForeignMemory") \
28 N(OneByteString, "_OneByteString") \ 28 N(OneByteString, "_OneByteString") \
29 N(TwoByteString, "_TwoByteString") \ 29 N(TwoByteString, "_TwoByteString") \
30 N(StackOverflowError, "StackOverflowError") \ 30 N(StackOverflowError, "StackOverflowError") \
31 N(TearOffClosure, "_TearOffClosure") \ 31 N(TearOffClosure, "_TearOffClosure") \
32 N(FletchNoSuchMethodError, "FletchNoSuchMethodError") \ 32 N(DartinoNoSuchMethodError, "DartinoNoSuchMethodError") \
33 \ 33 \
34 N(Equals, "==") \ 34 N(Equals, "==") \
35 N(LessThan, "<") \ 35 N(LessThan, "<") \
36 N(LessEqual, "<=") \ 36 N(LessEqual, "<=") \
37 N(GreaterThan, ">") \ 37 N(GreaterThan, ">") \
38 N(GreaterEqual, ">=") \ 38 N(GreaterEqual, ">=") \
39 \ 39 \
40 N(Add, "+") \ 40 N(Add, "+") \
41 N(Sub, "-") \ 41 N(Sub, "-") \
42 N(Mod, "%") \ 42 N(Mod, "%") \
(...skipping 24 matching lines...) Expand all
67 NAMES_LIST(N) 67 NAMES_LIST(N)
68 #undef N 68 #undef N
69 kCount, 69 kCount,
70 }; 70 };
71 71
72 static bool IsBuiltinClassName(int id) { 72 static bool IsBuiltinClassName(int id) {
73 return id >= kObject && id <= kTwoByteString; 73 return id >= kObject && id <= kTwoByteString;
74 } 74 }
75 }; 75 };
76 76
77 } // namespace fletch 77 } // namespace dartino
78 78
79 #endif // SRC_SHARED_NAMES_H_ 79 #endif // SRC_SHARED_NAMES_H_
OLDNEW
« no previous file with comments | « src/shared/list.h ('k') | src/shared/native_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698