|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object antlr.Token antlr.CommonToken de.grogra.grammar.Token de.grogra.grammar.Literal de.grogra.grammar.NumberLiteral de.grogra.grammar.FloatLiteral
public final class FloatLiteral
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 |
---|
public FloatLiteral(float value)
public FloatLiteral(java.lang.String value)
Method Detail |
---|
public double doubleValue()
doubleValue
in class NumberLiteral
public float floatValue()
floatValue
in class NumberLiteral
public java.lang.String getText()
getText
in class antlr.CommonToken
public int intValue()
intValue
in class NumberLiteral
public long longValue()
longValue
in class NumberLiteral
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |