MCPcopy Create free account
hub / github.com/ControlCplusControlV/Scribe / ForLoopToRepeatVisitor

Class ForLoopToRepeatVisitor

crates/papyrus/src/ast_optimization.rs:42–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41#[derive(Default)]
42struct ForLoopToRepeatVisitor {}
43
44//The variable assignment visitor keeps track of variables that are reused through the code and the last assignment.
45//Variables that do not change can be optimized by converting them into constants.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected