Class RemoveEmptyStatements
- java.lang.Object
-
- io.github.applecommander.bastools.api.optimizations.BaseVisitor
-
- io.github.applecommander.bastools.api.optimizations.RemoveEmptyStatements
-
- All Implemented Interfaces:
Visitor
public class RemoveEmptyStatements extends BaseVisitor
Remove any empty statements during the tree walk. Effective removes double "::"'s.
-
-
Field Summary
-
Fields inherited from class io.github.applecommander.bastools.api.optimizations.BaseVisitor
newProgram, reassignments
-
-
Constructor Summary
Constructors Constructor Description RemoveEmptyStatements(Configuration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Statementvisit(Statement statement)-
Methods inherited from class io.github.applecommander.bastools.api.optimizations.BaseVisitor
visit, visit, visit
-
-
-
-
Constructor Detail
-
RemoveEmptyStatements
public RemoveEmptyStatements(Configuration config)
-
-