| Index: compiler/java/com/google/dart/compiler/ast/DartNode.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartNode.java b/compiler/java/com/google/dart/compiler/ast/DartNode.java
|
| index fb8a7b4d2f1343954a005e788d257bc636927abf..1da622c68b7d78eeedd11d63a202fdf60a53c376 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartNode.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartNode.java
|
| @@ -76,43 +76,6 @@ public abstract class DartNode extends AbstractNode {
|
| return root;
|
| }
|
|
|
| - /**
|
| - * Returns the length in characters of the original source file indicating
|
| - * where the source fragment corresponding to this node ends.
|
| - * <p>
|
| - * The parser supplies useful well-defined source ranges to the nodes it
|
| - * creates.
|
| - *
|
| - * @return a (possibly 0) length, or <code>0</code> if no source startPosition
|
| - * information is recorded for this node
|
| - * @see #getStartPosition()
|
| - * @see #setSourceRange(int, int)
|
| - * @deprecated
|
| - */
|
| - @Deprecated
|
| - public int getLength() {
|
| - return getSourceLength();
|
| - }
|
| -
|
| - /**
|
| - * Returns the character index into the original source file indicating where
|
| - * the source fragment corresponding to this node begins.
|
| - * <p>
|
| - * The parser supplies useful well-defined source ranges to the nodes it
|
| - * creates. See {@link ASTParser#setKind(int)} for details on precisely where
|
| - * source ranges begin and end.
|
| - *
|
| - * @return the 0-based character index, or <code>-1</code> if no source
|
| - * startPosition information is recorded for this node
|
| - * @see #getLength()
|
| - * @see #setSourceRange(int, int)
|
| - * @deprecated
|
| - */
|
| - @Deprecated
|
| - public int getStartPosition() {
|
| - return getSourceStart();
|
| - }
|
| -
|
| protected <T extends DartNode> T becomeParentOf(T child) {
|
| if (child != null) {
|
| DartNode node = child; // Java 7 access rules require a temp of a concrete type.
|
|
|