diff options
Diffstat (limited to 'src/main/java/cuchaz/enigma/utils/ReadableToken.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/utils/ReadableToken.java | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/main/java/cuchaz/enigma/utils/ReadableToken.java b/src/main/java/cuchaz/enigma/utils/ReadableToken.java deleted file mode 100644 index de152fe..0000000 --- a/src/main/java/cuchaz/enigma/utils/ReadableToken.java +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | /******************************************************************************* | ||
| 2 | * Copyright (c) 2015 Jeff Martin. | ||
| 3 | * All rights reserved. This program and the accompanying materials | ||
| 4 | * are made available under the terms of the GNU Lesser General Public | ||
| 5 | * License v3.0 which accompanies this distribution, and is available at | ||
| 6 | * http://www.gnu.org/licenses/lgpl.html | ||
| 7 | * <p> | ||
| 8 | * Contributors: | ||
| 9 | * Jeff Martin - initial API and implementation | ||
| 10 | ******************************************************************************/ | ||
| 11 | |||
| 12 | package cuchaz.enigma.utils; | ||
| 13 | |||
| 14 | public class ReadableToken { | ||
| 15 | |||
| 16 | public int line; | ||
| 17 | public int startColumn; | ||
| 18 | public int endColumn; | ||
| 19 | |||
| 20 | public ReadableToken(int line, int startColumn, int endColumn) { | ||
| 21 | this.line = line; | ||
| 22 | this.startColumn = startColumn; | ||
| 23 | this.endColumn = endColumn; | ||
| 24 | } | ||
| 25 | |||
| 26 | @Override | ||
| 27 | public String toString() { | ||
| 28 | return "line " + line + " columns " + startColumn + "-" + endColumn; | ||
| 29 | } | ||
| 30 | } | ||