OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart 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 part of csslib.visitor; | 5 part of csslib.visitor; |
6 | 6 |
7 ///////////////////////////////////////////////////////////////////////// | 7 ///////////////////////////////////////////////////////////////////////// |
8 // CSS specific types: | 8 // CSS specific types: |
9 ///////////////////////////////////////////////////////////////////////// | 9 ///////////////////////////////////////////////////////////////////////// |
10 | 10 |
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1416 | 1416 |
1417 PaddingExpression._merge( | 1417 PaddingExpression._merge( |
1418 PaddingExpression x, PaddingExpression y, SourceSpan span) | 1418 PaddingExpression x, PaddingExpression y, SourceSpan span) |
1419 : super(DartStyleExpression.paddingStyle, span, | 1419 : super(DartStyleExpression.paddingStyle, span, |
1420 new BoxEdge.merge(x.box, y.box)); | 1420 new BoxEdge.merge(x.box, y.box)); |
1421 | 1421 |
1422 PaddingExpression clone() => new PaddingExpression(span, | 1422 PaddingExpression clone() => new PaddingExpression(span, |
1423 top: box.top, right: box.right, bottom: box.bottom, left: box.left); | 1423 top: box.top, right: box.right, bottom: box.bottom, left: box.left); |
1424 visit(VisitorBase visitor) => visitor.visitPaddingExpression(this); | 1424 visit(VisitorBase visitor) => visitor.visitPaddingExpression(this); |
1425 } | 1425 } |
OLD | NEW |