jfun.parsec.tokens

Class NamedToken

public class NamedToken extends Object implements Serializable

A token that has a name. The name is used in error reporting.

Author: Ben Yu Dec 9, 2004

Method Summary
booleanequals(Object obj)
StringgetName()
Get the name.
inthashCode()
StringtoString()

Method Detail

equals

public boolean equals(Object obj)

getName

public final String getName()
Get the name.

Returns: Returns the name.

hashCode

public int hashCode()

toString

public String toString()