1 /***************************************************************************** 2 * Copyright (C) Zephyr Business Solutions Corp. All rights reserved. * 3 * ------------------------------------------------------------------------- * 4 * The software in this package is published under the terms of the BSD * 5 * style license a copy of which has been included with this distribution in * 6 * the LICENSE.txt file. * 7 *****************************************************************************/ 8 /* 9 * Created on 2004-11-7 10 * 11 * Author Ben Yu 12 */ 13 package jfun.parsec; 14 15 /** 16 * This class carries the position information of a token. 17 * @since version 1.0 18 * @author Ben Yu 19 * 20 * 2004-11-7 21 */ 22 @SuppressWarnings("deprecation") 23 public final class Tok extends PositionedToken{ 24 /** 25 * Create a Tok object. 26 * @param i the starting index. 27 * @param l the length of the token. 28 * @param tok the token. 29 */ 30 public Tok(final int i, final int l, final Object tok) { 31 super(i, l, tok); 32 } 33 } 34