jfun.parsec.tokens
Class TokenDecimal

java.lang.Object
  extended by jfun.parsec.tokens.NamedToken
      extended by jfun.parsec.tokens.TypedToken<TokenType>
          extended by jfun.parsec.tokens.TokenDecimal
All Implemented Interfaces:
java.io.Serializable

Deprecated.

@Deprecated
public class TokenDecimal
extends TypedToken<TokenType>
implements java.io.Serializable

The token that represents any decimal literal.

Author:
Ben Yu 2004-11-15
See Also:
Serialized Form

Method Summary
 java.lang.String getString()
          Deprecated. gets the string representation of the decimal.
static Tokenizer getTokenizer()
          Deprecated. Creates a Tokenizer that's gonna tokenize any valid decimal literal string to a TokenDecimal object.
 
Methods inherited from class jfun.parsec.tokens.TypedToken
equals, equals, getText, getType, hashCode
 
Methods inherited from class jfun.parsec.tokens.NamedToken
getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getString

public final java.lang.String getString()
Deprecated. 
gets the string representation of the decimal.

Returns:
the integral part.

getTokenizer

public static Tokenizer getTokenizer()
Deprecated. 
Creates a Tokenizer that's gonna tokenize any valid decimal literal string to a TokenDecimal object.

Returns:
the Tokenizer instance.