Class BaseVisitor
java.lang.Object
io.github.applecommander.bastools.api.optimizations.BaseVisitor
- All Implemented Interfaces:
Visitor
- Direct Known Subclasses:
ExtractConstantValues
,MergeLines
,RemoveEmptyStatements
,RemoveRemStatements
,Renumber
,ShortenVariableNames
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.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary