| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Token.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Token.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Token.java
|
| index 8801610754dfa18200b74fe2bf8a929e16d0a5d0..1208698bdc1cde7777ed962f16aa6d2d80869c05 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Token.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Token.java
|
| @@ -50,6 +50,17 @@ public class Token {
|
| }
|
|
|
| /**
|
| + * Return the offset from the beginning of the file to the character after last character of the
|
| + * token.
|
| + *
|
| + * @return the offset from the beginning of the file to the first character after last character
|
| + * of the token
|
| + */
|
| + public int getEnd() {
|
| + return offset + getLength();
|
| + }
|
| +
|
| + /**
|
| * Return the number of characters in the node's source range.
|
| *
|
| * @return the number of characters in the node's source range
|
|
|