| 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 immic.primitives; | 5 library immic.primitives; |
| 6 | 6 |
| 7 enum PrimitiveType { | 7 enum PrimitiveType { |
| 8 VOID, | 8 VOID, |
| 9 BOOL, | 9 BOOL, |
| 10 | 10 |
| 11 UINT8, | 11 UINT8, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 'int8' : PrimitiveType.INT8, | 51 'int8' : PrimitiveType.INT8, |
| 52 'int16' : PrimitiveType.INT16, | 52 'int16' : PrimitiveType.INT16, |
| 53 'int32' : PrimitiveType.INT32, | 53 'int32' : PrimitiveType.INT32, |
| 54 'int64' : PrimitiveType.INT64, | 54 'int64' : PrimitiveType.INT64, |
| 55 | 55 |
| 56 'float32' : PrimitiveType.FLOAT32, | 56 'float32' : PrimitiveType.FLOAT32, |
| 57 'float64' : PrimitiveType.FLOAT64, | 57 'float64' : PrimitiveType.FLOAT64, |
| 58 }; | 58 }; |
| 59 return types[identifier]; | 59 return types[identifier]; |
| 60 } | 60 } |
| OLD | NEW |