public class FloatLiteral extends Literal
Constructor and Description |
---|
FloatLiteral() |
Modifier and Type | Method and Description |
---|---|
void |
codegen(ClassFile classfile,
CodeAttribute code,
de.dhbwstuttgart.typeinference.Menge paralist) |
short |
ConstantCodegen(ClassFile classfile)
Erzeugt die benoetigten Konstanteneintraege, die den Wert
des Literals darstellen.
|
float |
get_Float() |
java.lang.String |
get_Name() |
java.lang.String |
printJavaCode(ResultSet resultSet) |
void |
sc_check(de.dhbwstuttgart.typeinference.Menge<Class> classname,
java.util.Hashtable ch,
java.util.Hashtable<java.lang.String,java.lang.String> bh,
boolean ext,
java.util.Hashtable parach,
java.util.Hashtable<java.lang.String,java.util.Hashtable> parabh) |
void |
set_Float(float i) |
java.lang.String |
toString()
Author: Martin Pl�micke |
CTripleSet |
TRExp(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData)
Workaround: �berschreibt Methode TRExp aus der Super-Klasse
Literal , weil die Implementierung von Unify (noch) nicht mit
Basetypes umgehen kann. |
CTripleSet |
TRStatement(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData) |
ConstraintsSet |
TYPEExpr(TypeAssumptions assumptions) |
void |
wandleRefTypeAttributes2GenericAttributes(de.dhbwstuttgart.typeinference.Menge<Type> paralist,
de.dhbwstuttgart.typeinference.Menge<GenericTypeVar> genericMethodParameters) |
addOffsetsToExpression, getPrimitiveFlag, setPrimitiveFlag
addOffsetsToStatement, get_Name_Menge, get_Type_Menge, get_UsedId, set_Type, set_UsedId, TRMultiply, TRTuple, TYPEStmt
getType, getTypeLineNumber, getTypeName
getOffset, getTypeInformation, getTypeVariable, getVariableLength, replaceType, setType, setTypeVariable
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
replaceType
public void set_Float(float i)
public float get_Float()
public void sc_check(de.dhbwstuttgart.typeinference.Menge<Class> classname, java.util.Hashtable ch, java.util.Hashtable<java.lang.String,java.lang.String> bh, boolean ext, java.util.Hashtable parach, java.util.Hashtable<java.lang.String,java.util.Hashtable> parabh)
public void codegen(ClassFile classfile, CodeAttribute code, de.dhbwstuttgart.typeinference.Menge paralist) throws JVMCodeException
codegen
in class Statement
JVMCodeException
public short ConstantCodegen(ClassFile classfile) throws JVMCodeException
Literal
ConstantCodegen
in class Literal
JVMCodeException
public CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
TRStatement
in class Statement
public CTripleSet TRExp(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
Literal
, weil die Implementierung von Unify (noch) nicht mit
Basetypes umgehen kann.IntegerType
zur�ckzugeben, wird ein
RefType
zur�ckgegeben.public java.lang.String toString()
toString
in class java.lang.Object
public void wandleRefTypeAttributes2GenericAttributes(de.dhbwstuttgart.typeinference.Menge<Type> paralist, de.dhbwstuttgart.typeinference.Menge<GenericTypeVar> genericMethodParameters)
wandleRefTypeAttributes2GenericAttributes
in class Statement
public ConstraintsSet TYPEExpr(TypeAssumptions assumptions)
public java.lang.String printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement