[ClavaAst] Adds MemberExpr.setMemberName()
@@ -32,7 +32,7 @@ import pt.up.fe.specs.util.SpecsLogs;
*/
public class MemberExpr extends Expr {
- private final String memberName;
+ private String memberName;
private final boolean isArrow;
public MemberExpr(String memberName, boolean isArrow, ExprData exprData, ClavaNodeInfo info, Expr base) {
@@ -59,6 +59,10 @@ public class MemberExpr extends Expr {
return memberName;
}
+ public void setMemberName(String memberName) {
+ this.memberName = memberName;
+ }
+
public boolean isArrow() {
return isArrow;
}
