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

Method indent

crates/papyrus/src/miden_generator.rs:104–108  ·  view source on GitHub ↗

Function to indent the Miden assembly by four spaces. Ex. if.true push.0

(&mut self)

Source from the content-addressed store, hash-verified

102 // if.true
103 // push.0
104 fn indent(&mut self) {
105 if self.options.auto_indent || self.indentation == 0 {
106 self.indentation += 4;
107 }
108 }
109
110 //Function to decrease the indent in the Miden assembly by four spaces
111 //Ex.

Callers 11

end_branchMethod · 0.80
transpile_assignmentMethod · 0.80
transpile_for_loopMethod · 0.80
transpile_repeatMethod · 0.80
transpile_caseMethod · 0.80
transpile_programFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected