KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > parsec > ShowToken


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 JavaDoc{
23   /**
24    * convert a token to a String.
25    * @param tok the token.
26    * @return the string.
27    */

28   public String JavaDoc show(Object JavaDoc tok);
29 }
30
Popular Tags