OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library servicec.types; | 5 library servicec.types; |
6 | 6 |
7 enum TypeKind { | 7 enum TypeKind { |
8 VOID, | 8 VOID, |
9 BOOL, | 9 BOOL, |
10 | 10 |
11 UINT8, | 11 UINT8, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 'int64' : TypeKind.INT64, | 56 'int64' : TypeKind.INT64, |
57 | 57 |
58 'float32' : TypeKind.FLOAT32, | 58 'float32' : TypeKind.FLOAT32, |
59 'float64' : TypeKind.FLOAT64, | 59 'float64' : TypeKind.FLOAT64, |
60 | 60 |
61 'String' : TypeKind.STRING, | 61 'String' : TypeKind.STRING, |
62 'List' : TypeKind.LIST, | 62 'List' : TypeKind.LIST, |
63 }; | 63 }; |
64 return types[identifier]; | 64 return types[identifier]; |
65 } | 65 } |
OLD | NEW |