@Test public void setName() throws Exception { VariableIdentifierExpr x = new VariableIdentifierExpr("x"); assertEquals("x", x.getName()); x.setName("y"); assertEquals("y", x.getName()); }
public void setName(String name) { this.name = name; }
VariableIdentifierExpr extends Expr { public void setName(String name) { this.name = name; } }
VariableIdentifierExpr extends Expr { public void setName(String name) { this.name = name; } VariableIdentifierExpr(String name); }
VariableIdentifierExpr extends Expr { public void setName(String name) { this.name = name; } VariableIdentifierExpr(String name); String getName(); void setName(String name); @Override void accept(IAstVisitor visitor); @Override VariableIdentifierExpr clone(); @Override boolean hasChild(IAstNode child); @Override Expr getChild(int index); @Override void setChild(int index, Expr expr); @Override int getNumChildren(); }
VariableIdentifierExpr extends Expr { public void setName(String name) { this.name = name; } VariableIdentifierExpr(String name); String getName(); void setName(String name); @Override void accept(IAstVisitor visitor); @Override VariableIdentifierExpr clone(); @Override boolean hasChild(IAstNode child); @Override Expr getChild(int index); @Override void setChild(int index, Expr expr); @Override int getNumChildren();  }