| 1 | /* -*- Mode: java; tab-width: 4; indent-tabs-mode: 1; c-basic-offset: 4 -*- |
| 2 | * |
| 3 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 5 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 6 | package org.mozilla.javascript.tools.idswitch; |
| 7 | |
| 8 | public class IdValuePair |
| 9 | { |
| 10 | public final int idLength; |
| 11 | public final String id; |
| 12 | public final String value; |
| 13 | |
| 14 | private int lineNumber; |
| 15 | |
| 16 | public IdValuePair(String id, String value) { |
| 17 | this.idLength = id.length(); |
| 18 | this.id = id; |
| 19 | this.value = value; |
| 20 | } |
| 21 | |
| 22 | public int getLineNumber() { return lineNumber; } |
| 23 | |
| 24 | public void setLineNumber(int value) { lineNumber = value; } |
| 25 | } |
| 26 |