Add recursiveOwnerChain to TypedAssignment

This commit is contained in:
ahmad 2024-05-12 14:44:17 +02:00
parent 8e9ce8caa4
commit 3b1161e97a

View File

@ -18,7 +18,7 @@ import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
public class TypedAssignment implements TypedStatement { public class TypedAssignment implements TypedStatement {
private String varName; private String varName;
private TypedExpression value; private TypedExpression value;
// private TypedExpression recursiveOwnerChain; private TypedExpression recursiveOwnerChain;
private Type type; private Type type;
public TypedAssignment(TypedClass clas, Assignment untyped) { public TypedAssignment(TypedClass clas, Assignment untyped) {
@ -28,7 +28,7 @@ public class TypedAssignment implements TypedStatement {
public void convertToTypedAssignment(TypedClass clas, Assignment untyped) { public void convertToTypedAssignment(TypedClass clas, Assignment untyped) {
varName = untyped.location().id(); varName = untyped.location().id();
value = convertExpression(clas, untyped.value()); value = convertExpression(clas, untyped.value());
// recursiveOwnerChain = convertExpression( clas, untyped.location().recursiveOwnerChain()); recursiveOwnerChain = convertExpression( clas, untyped.location().recursiveOwnerChain());
} }
@Override @Override