Class ParseTreeFreeVariableRenamer

  • All Implemented Interfaces:
    ParseTreeVisitor

    public class ParseTreeFreeVariableRenamer
    extends AbstractParseTreeVisitor
    This class visits parse trees and renames the free variables that match a specified variable. Use this class prior to changing the name of a variable to update references to the variable.
    Since:
    Ptolemy II 5.2
    Version:
    $Id$
    Author:
    Edward A. Lee
    See Also:
    ASTPtRootNode
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (eal)