jfun.parsec
Interface ShowToken

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Token2String

public interface ShowToken
extends java.io.Serializable

To convert a token object to String. This is normally not necessary unless you want fine control over error messages or internationalization.

Author:
Ben Yu 2004-11-12

Method Summary
 java.lang.String show(java.lang.Object tok)
          convert a token to a String.
 

Method Detail

show

java.lang.String show(java.lang.Object tok)
convert a token to a String.

Parameters:
tok - the token.
Returns:
the string.