java.lang.Object
io.github.applecommander.bastools.api.optimizations.BaseVisitor
All Implemented Interfaces:
Visitor
Direct Known Subclasses:
ExtractConstantValues, MergeLines, RemoveEmptyStatements, RemoveRemStatements, Renumber, ShortenVariableNames

public class BaseVisitor extends Object implements Visitor
Common base class for optimization visitors that allow the program tree to be rewritten. Note that #reassignments is used to track line number movement and is automatically applied at the end of the program visit.