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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.fletch_native_descriptor; | 5 library fletchc.fletch_native_descriptor; |
6 | 6 |
7 import 'dart:convert' show | 7 import 'dart:convert' show |
8 JSON; | 8 JSON; |
9 | 9 |
10 class FletchNativeDescriptor { | 10 class FletchNativeDescriptor { |
11 final String enumName; | 11 final String enumName; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 } else { | 46 } else { |
47 add(cls, name); | 47 add(cls, name); |
48 } | 48 } |
49 index++; | 49 index++; |
50 } | 50 } |
51 for (Map name in jsonObjects['names']) { | 51 for (Map name in jsonObjects['names']) { |
52 names[name['name']] = name['value']; | 52 names[name['name']] = name['value']; |
53 } | 53 } |
54 } | 54 } |
55 } | 55 } |
OLD | NEW |