mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-28 17:28:03 +00:00
Add recursiveOwnerChain to TypedAssignment
This commit is contained in:
parent
8e9ce8caa4
commit
3b1161e97a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user