MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / indent

Method indent

crates/codegen/src/code_indenter.rs:37–39  ·  view source on GitHub ↗
(&mut self, n: u32)

Source from the content-addressed store, hash-verified

35 self.writer
36 }
37 pub fn indent(&mut self, n: u32) {
38 self.level = self.level.saturating_add(n);
39 }
40 pub fn dedent(&mut self, n: u32) {
41 self.level = self.level.saturating_sub(n);
42 }

Callers 14

generate_optional_typeFunction · 0.45
generate_result_typeFunction · 0.45
autogen_cpp_structFunction · 0.45
autogen_cpp_enumFunction · 0.45
autogen_cpp_sumFunction · 0.45
newMethod · 0.45
generate_global_filesMethod · 0.45
print_index_importsFunction · 0.45
write_table_optsFunction · 0.45
write_type_builder_fieldFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected