public class InstVar extends Expr
Constructor and Description |
---|
InstVar(Expr e,
java.lang.String n,
int offset) |
InstVar(java.lang.String n,
java.lang.String t,
int offset) |
InstVar(UsedId ui,
int offset,
int variableLength)
macht aus einem UsedId mit einem Menge von Strings eine InstVar
Author: Martin Pl�micke PL 05-08-17 |
Modifier and Type | Method and Description |
---|---|
void |
addOffsetsToExpression(CTypeAssumption localAssumption,
java.lang.String NameVariable,
boolean isMemberVariable) |
void |
codegen(ClassFile classfile,
CodeAttribute code,
de.dhbwstuttgart.typeinference.Menge paralist) |
java.lang.String |
get_codegen_UsedId() |
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) |
java.lang.String |
toString()
Author: Martin Pl�micke |
CTripleSet |
TRExp(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData)
Implementierung des Algorithmus 5.38 von Martin Pl�micke
Author: J�rg B�uerle |
CTripleSet |
TRInstVar(CTriple triple,
CSupportData supportData)
Implementierung des Algorithmus 5.38-1 von Martin Pl�micke
Author: J�rg B�uerle |
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) |
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 InstVar(Expr e, java.lang.String n, int offset)
public InstVar(java.lang.String n, java.lang.String t, int offset)
public InstVar(UsedId ui, int offset, int variableLength)
ui
- 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 java.lang.String get_codegen_UsedId()
public void codegen(ClassFile classfile, CodeAttribute code, de.dhbwstuttgart.typeinference.Menge paralist) throws JVMCodeException
codegen
in class Statement
JVMCodeException
public CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
TRStatement
in class Statement
public CTripleSet TRExp(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
public CTripleSet TRInstVar(CTriple triple, CSupportData supportData)
triple
- supportData
- 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 void addOffsetsToExpression(CTypeAssumption localAssumption, java.lang.String NameVariable, boolean isMemberVariable)
addOffsetsToExpression
in class Expr
public ConstraintsSet TYPEExpr(TypeAssumptions assumptions)
public java.lang.String printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement