MCPcopy Index your code
hub / github.com/aws/jsii / close

Method close

packages/codemaker/src/codemaker.ts:146–151  ·  view source on GitHub ↗

* Decreases the indentation level by `indentation` for the next line. * @param textAfter Text to emit in the line after indentation was decreased. * If `false` no line will be emitted at all, but the indent * counter will be decremented.

(textAfter?: string | false)

Source from the content-addressed store, hash-verified

144 * counter will be decremented.
145 */
146 public close(textAfter?: string | false) {
147 this.currIndent--;
148 if (textAfter !== false) {
149 this.line(textAfter);
150 }
151 }
152
153 /**
154 * Opens a code block. The formatting of the block is determined by `openBlockFormatter`.

Callers 15

unindentMethod · 0.95
closeBlockMethod · 0.95
emitInternalFunction · 0.45
emitGomodMethod · 0.45
emitJsiiPackageMethod · 0.45
importGoModulesFunction · 0.45
emitRegistrationMethod · 0.45
emitRegistrationMethod · 0.45
emitProxyMakerFunctionFunction · 0.45
emitRegistrationMethod · 0.45
emitMethod · 0.45
emitRegistrationMethod · 0.45

Calls 1

lineMethod · 0.95

Tested by

no test coverage detected