| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface Range { | 7 interface Range { |
| 8 | 8 |
| 9 static final int END_TO_END = 2; | 9 static final int END_TO_END = 2; |
| 10 | 10 |
| 11 static final int END_TO_START = 3; | 11 static final int END_TO_START = 3; |
| 12 | 12 |
| 13 static final int NODE_AFTER = 1; | 13 static final int NODE_AFTER = 1; |
| 14 | 14 |
| 15 static final int NODE_BEFORE = 0; | 15 static final int NODE_BEFORE = 0; |
| 16 | 16 |
| 17 static final int NODE_BEFORE_AND_AFTER = 2; | 17 static final int NODE_BEFORE_AND_AFTER = 2; |
| 18 | 18 |
| 19 static final int NODE_INSIDE = 3; | 19 static final int NODE_INSIDE = 3; |
| 20 | 20 |
| 21 static final int START_TO_END = 1; | 21 static final int START_TO_END = 1; |
| 22 | 22 |
| 23 static final int START_TO_START = 0; | 23 static final int START_TO_START = 0; |
| 24 | 24 |
| 25 bool get collapsed(); | 25 final bool collapsed; |
| 26 | 26 |
| 27 Node get commonAncestorContainer(); | 27 final Node commonAncestorContainer; |
| 28 | 28 |
| 29 Node get endContainer(); | 29 final Node endContainer; |
| 30 | 30 |
| 31 int get endOffset(); | 31 final int endOffset; |
| 32 | 32 |
| 33 Node get startContainer(); | 33 final Node startContainer; |
| 34 | 34 |
| 35 int get startOffset(); | 35 final int startOffset; |
| 36 | 36 |
| 37 DocumentFragment cloneContents(); | 37 DocumentFragment cloneContents(); |
| 38 | 38 |
| 39 Range cloneRange(); | 39 Range cloneRange(); |
| 40 | 40 |
| 41 void collapse(bool toStart); | 41 void collapse(bool toStart); |
| 42 | 42 |
| 43 int compareNode(Node refNode); | 43 int compareNode(Node refNode); |
| 44 | 44 |
| 45 int comparePoint(Node refNode, int offset); | 45 int comparePoint(Node refNode, int offset); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 void setStart(Node refNode, int offset); | 77 void setStart(Node refNode, int offset); |
| 78 | 78 |
| 79 void setStartAfter(Node refNode); | 79 void setStartAfter(Node refNode); |
| 80 | 80 |
| 81 void setStartBefore(Node refNode); | 81 void setStartBefore(Node refNode); |
| 82 | 82 |
| 83 void surroundContents(Node newParent); | 83 void surroundContents(Node newParent); |
| 84 | 84 |
| 85 String toString(); | 85 String toString(); |
| 86 } | 86 } |
| OLD | NEW |