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

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

Issue 1209033003: Work in progres, please take a look and give early feedback if this is the way we want to structure… (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: address comments 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
« no previous file with comments | « samples/todomvc/dart/todomvc_service.dart ('k') | src/shared/natives.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 Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Fletch 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 fletch {
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(ConstantMap, "_ConstantMap") \ 20 N(ConstantMap, "_ConstantMap") \
21 N(Num, "num") \ 21 N(Num, "num") \
22 N(Coroutine, "Coroutine") \ 22 N(Coroutine, "Coroutine") \
23 N(Port, "Port") \ 23 N(Port, "Port") \
24 N(Foreign, "Foreign") \ 24 N(ForeignMemory, "ForeignMemory") \
25 N(ForeignFunction, "ForeignFunction") \
25 N(String, "_StringImpl") \ 26 N(String, "_StringImpl") \
26 \ 27 \
27 N(Equals, "==") \ 28 N(Equals, "==") \
28 N(LessThan, "<") \ 29 N(LessThan, "<") \
29 N(LessEqual, "<=") \ 30 N(LessEqual, "<=") \
30 N(GreaterThan, ">") \ 31 N(GreaterThan, ">") \
31 N(GreaterEqual, ">=") \ 32 N(GreaterEqual, ">=") \
32 \ 33 \
33 N(Add, "+") \ 34 N(Add, "+") \
34 N(Sub, "-") \ 35 N(Sub, "-") \
(...skipping 28 matching lines...) Expand all
63 }; 64 };
64 65
65 static bool IsBuiltinClassName(int id) { 66 static bool IsBuiltinClassName(int id) {
66 return id >= kObject && id <= kString; 67 return id >= kObject && id <= kString;
67 } 68 }
68 }; 69 };
69 70
70 } // namespace fletch 71 } // namespace fletch
71 72
72 #endif // SRC_SHARED_NAMES_H_ 73 #endif // SRC_SHARED_NAMES_H_
OLDNEW
« no previous file with comments | « samples/todomvc/dart/todomvc_service.dart ('k') | src/shared/natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698