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-12 10 * 11 * Author Ben Yu 12 */ 13 package jfun.parsec; 14 15 /** 16 * To convert a token object to String. 17 * This is normally not necessary unless you want fine control over error messages or internationalization. 18 * @author Ben Yu 19 * 20 * 2004-11-12 21 */ 22 public interface ShowToken extends java.io.Serializable{ 23 /** 24 * convert a token to a String. 25 * @param tok the token. 26 * @return the string. 27 */ 28 public String show(Object tok); 29 } 30