| 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 old_servicec.parser; | 5 library old_servicec.parser; |
| 6 | 6 |
| 7 import 'primitives.dart' as primitives; | 7 import 'primitives.dart' as primitives; |
| 8 import 'struct_layout.dart'; | 8 import 'struct_layout.dart'; |
| 9 | 9 |
| 10 abstract class Visitor { | 10 abstract class Visitor { |
| 11 visitUnit(Unit node); | 11 visitUnit(Unit node); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 bool operator==(Object other) { | 160 bool operator==(Object other) { |
| 161 return other is ListType && elementType == other.elementType; | 161 return other is ListType && elementType == other.elementType; |
| 162 } | 162 } |
| 163 | 163 |
| 164 bool get isPointer => false; | 164 bool get isPointer => false; |
| 165 bool get isList => true; | 165 bool get isList => true; |
| 166 bool get isString => false; | 166 bool get isString => false; |
| 167 | 167 |
| 168 String get identifier => elementType.identifier; | 168 String get identifier => elementType.identifier; |
| 169 } | 169 } |
| OLD | NEW |