public class DoubleLiteral extends Literal
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.String | 
value
Textual representation of the value. 
 | 
| Constructor and Description | 
|---|
DoubleLiteral()
Double literal. 
 | 
DoubleLiteral(double value)
Double literal. 
 | 
DoubleLiteral(ExtList children,
             java.lang.String value)
Double literal. 
 | 
DoubleLiteral(java.lang.String value)
Double literal. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected int | 
computeHashCode()  | 
boolean | 
equals(java.lang.Object o)  | 
boolean | 
equalsModRenaming(SourceElement o,
                 NameAbstractionTable nat)
tests if equals 
 | 
KeYJavaType | 
getKeYJavaType(Services javaServ)
retrieves the literal's type 
 | 
Name | 
getLDTName()  | 
java.lang.String | 
getValue()
Get value. 
 | 
void | 
prettyPrint(PrettyPrinter p)
Pretty printing the source element. 
 | 
void | 
visit(Visitor v)
calls the corresponding method of a visitor in order to
 perform some action/transformation on this element 
 | 
getKeYJavaType, matchgetComments, hashCode, prettyPrintMain, reuseSignaturegetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCommentsgetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPositionpublic DoubleLiteral()
public DoubleLiteral(double value)
value - a double value.public DoubleLiteral(ExtList children, java.lang.String value)
children - list with all children(here:comments)
        May contain: Commentsvalue - a string.public DoubleLiteral(java.lang.String value)
value - a string.public boolean equalsModRenaming(SourceElement o, NameAbstractionTable nat)
equalsModRenaming in interface SourceElementequalsModRenaming in class JavaProgramElementprotected int computeHashCode()
computeHashCode in class JavaProgramElementpublic boolean equals(java.lang.Object o)
equals in class JavaProgramElementpublic java.lang.String getValue()
public void visit(Visitor v)
v - the Visitorpublic void prettyPrint(PrettyPrinter p) throws java.io.IOException
JavaSourceElementprettyPrint in interface SourceElementprettyPrint in class JavaProgramElementp - a pretty printer.java.io.IOException - occasionally thrown.public KeYJavaType getKeYJavaType(Services javaServ)
LiteralgetKeYJavaType in class LiteraljavaServ - the Services offering access to the Java modelpublic Name getLDTName()
getLDTName in class Literal