| 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.converter; | 5 library servicec.converter; |
| 6 | 6 |
| 7 import 'node.dart' show | 7 import 'node.dart' show |
| 8 CompilationUnitNode, | 8 CompilationUnitNode, |
| 9 FieldNode, | 9 FieldNode, |
| 10 FormalNode, | 10 FormalNode, |
| 11 FunctionNode, | 11 FunctionNode, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 return new old.StringType(); | 82 return new old.StringType(); |
| 83 } else if (type.isPointer()) { | 83 } else if (type.isPointer()) { |
| 84 return new old.SimpleType(type.identifier.value, true); | 84 return new old.SimpleType(type.identifier.value, true); |
| 85 } else if (type.isList()) { | 85 } else if (type.isList()) { |
| 86 ListType listType = type; | 86 ListType listType = type; |
| 87 return new old.ListType(convertType(listType.typeParameter)); | 87 return new old.ListType(convertType(listType.typeParameter)); |
| 88 } else { | 88 } else { |
| 89 return new old.SimpleType(type.identifier.value, false); | 89 return new old.SimpleType(type.identifier.value, false); |
| 90 } | 90 } |
| 91 } | 91 } |
| OLD | NEW |