protected final N replace(RENode that) { if (that == null || type.isInstance(that)) { return set(type.cast(that)); } else { throw new ClassCastException("Cannot cast node with type " + that.getClass().getName() + " to type " + type.getName()); } }
protected final N replace(RENode that) { if (that == null || type.isInstance(that)) { return set(type.cast(that)); } else { throw new ClassCastException("Cannot cast node with type " + that.getClass().getName() + " to type " + type.getName()); } }
public void setLeft(CharacterClassExpr left) { this.left.set(left); }
public void setDisjunction(Disjunction disjunction) { this.disjunction.set(disjunction); }
public void setRight(CharacterClassExpr right) { this.right.set(right); }
public void setLeft(CharacterClassExpr left) { this.left.set(left); }
public void setRight(CharacterClassExpr right) { this.right.set(right); }
public void setLeft(CharacterClassExpr left) { this.left.set(left); }
public void setExpr(CharacterClassExpr expr) { this.expr.set(expr); }
public void setRight(CharacterClassExpr right) { this.right.set(right); }
public void setNext(Alternative next) { this.next.set(next); }
public void setExpr(Expr expr) { this.expr.set(expr); }
public void setLeft(CharacterClassExpr left) { this.left.set(left); }
public void setNegated(CharacterClassExpr negated) { this.negated.set(negated); }
public void setDisjunction(Disjunction disjunction) { this.disjunction.set(disjunction); }
public void setRight(CharacterClassExpr right) { this.right.set(right); }
public void setNext(Alternative next) { this.next.set(next); }
public void setExpr(CharacterClassExpr expr) { this.expr.set(expr); }
public void setExpr(Expr expr) { this.expr.set(expr); }
public void setNegated(CharacterClassExpr negated) { this.negated.set(negated); }