OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 import '../node.dart'; | 5 import '../node.dart'; |
6 import '../scheduler.dart' as scheduler; | 6 import '../scheduler.dart' as scheduler; |
7 import 'dart:math' as math; | 7 import 'dart:math' as math; |
8 import 'dart:sky' as sky; | 8 import 'dart:sky' as sky; |
9 | 9 |
10 class ParentData { | 10 class ParentData { |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 } | 374 } |
375 } | 375 } |
376 | 376 |
377 ChildType get firstChild => _firstChild; | 377 ChildType get firstChild => _firstChild; |
378 ChildType get lastChild => _lastChild; | 378 ChildType get lastChild => _lastChild; |
379 ChildType childAfter(ChildType child) { | 379 ChildType childAfter(ChildType child) { |
380 assert(child.parentData is ParentDataType); | 380 assert(child.parentData is ParentDataType); |
381 return child.parentData.nextSibling; | 381 return child.parentData.nextSibling; |
382 } | 382 } |
383 } | 383 } |
OLD | NEW |