Package org.nineml.coffeegrinder.tokens
Class TokenEPSILON
java.lang.Object
org.nineml.coffeegrinder.util.Decoratable
org.nineml.coffeegrinder.tokens.Token
org.nineml.coffeegrinder.tokens.TokenEPSILON
A single character
Token.-
Field Summary
Fields -
Method Summary
Methods inherited from class org.nineml.coffeegrinder.util.Decoratable
addAttribute, addAttributes, getAttribute, getAttributes, getAttributesMap, getAttributeValue, hasAttribute
-
Field Details
-
EPSILON
-
-
Method Details
-
getValue
Return the string value of this token. -
matches
Does this token match the input?This token matches other
token charactersthat have the same character as well asTokenStringsthat are one character long and contain the same character. -
equals
Test tokens for equality.Two tokens are equal if they represent the same character.
-
hashCode
public int hashCode()Assure that equal tokens return the same hash code. -
toString
Pretty print a token.
-