MCPcopy Index your code
hub / github.com/go-python/gopy / Indent

Method Indent

bind/printer.go:69–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (p *printer) Indent() {
70 p.indentText = append(p.indentText, p.indentEach...)
71}
72
73func (p *printer) Outdent() {
74 if len(p.indentText) > len(p.indentEach)-1 {

Callers 15

TestPrinterFunction · 0.95
genMapMethod · 0.80
genMapInitMethod · 0.80
genTypeHandlePtrMethod · 0.80
genTypeHandleImplPtrMethod · 0.80
genTypeHandleMethod · 0.80
genExtClassMethod · 0.80
genVarGetterMethod · 0.80
genVarSetterMethod · 0.80
genEnumMethod · 0.80
genFuncBodyMethod · 0.80
genSliceMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestPrinterFunction · 0.76