de.grogra.grammar
Class FloatLiteral

java.lang.Object
  extended by antlr.Token
      extended by antlr.CommonToken
          extended by de.grogra.grammar.Token
              extended by de.grogra.grammar.Literal
                  extended by de.grogra.grammar.NumberLiteral
                      extended by de.grogra.grammar.FloatLiteral
All Implemented Interfaces:
java.lang.Cloneable

public final class FloatLiteral
extends NumberLiteral


Field Summary
 
Fields inherited from class de.grogra.grammar.NumberLiteral
DOUBLE, FLOAT, INT, LONG
 
Fields inherited from class de.grogra.grammar.Token
BOOLEAN_LITERAL, CHAR_LITERAL, DOUBLE_LITERAL, FLOAT_LITERAL, IDENT, INT_LITERAL, LONG_LITERAL, MAX_NUMBER_LITERAL, MIN_NUMBER_LITERAL, MIN_UNUSED, STRING_LITERAL
 
Fields inherited from class antlr.CommonToken
col, line, text
 
Fields inherited from class antlr.Token
badToken, EOF_TYPE, INVALID_TYPE, MIN_USER_TYPE, NULL_TREE_LOOKAHEAD, SKIP, type
 
Constructor Summary
FloatLiteral(float value)
           
FloatLiteral(java.lang.String value)
           
 
Method Summary
 double doubleValue()
           
 float floatValue()
           
 java.lang.String getText()
           
 int intValue()
           
 long longValue()
           
 
Methods inherited from class de.grogra.grammar.Token
dup, getColumn, getEndPosition, getFilename, getLine, getStartPosition, getTokenizer, setExtent, setTokenizer
 
Methods inherited from class antlr.CommonToken
setColumn, setLine, setText, toString
 
Methods inherited from class antlr.Token
getType, setFilename, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FloatLiteral

public FloatLiteral(float value)

FloatLiteral

public FloatLiteral(java.lang.String value)
Method Detail

doubleValue

public double doubleValue()
Specified by:
doubleValue in class NumberLiteral

floatValue

public float floatValue()
Specified by:
floatValue in class NumberLiteral

getText

public java.lang.String getText()
Overrides:
getText in class antlr.CommonToken

intValue

public int intValue()
Specified by:
intValue in class NumberLiteral

longValue

public long longValue()
Specified by:
longValue in class NumberLiteral