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

Method open

packages/codemaker/src/codemaker.ts:135–138  ·  view source on GitHub ↗

* Increases the indentation level by `indentation` spaces for the next line. * @param textBefore Text to emit before the newline (i.e. block open).

(textBefore?: string)

Source from the content-addressed store, hash-verified

133 * @param textBefore Text to emit before the newline (i.e. block open).
134 */
135 public open(textBefore?: string) {
136 this.line(textBefore);
137 this.currIndent++;
138 }
139
140 /**
141 * Decreases the indentation level by `indentation` for the next line.

Callers 15

indentMethod · 0.95
openBlockMethod · 0.95
emitInternalFunction · 0.80
emitGomodMethod · 0.80
emitJsiiPackageMethod · 0.80
importGoModulesFunction · 0.80
emitRegistrationMethod · 0.80
emitRegistrationMethod · 0.80
emitProxyMakerFunctionFunction · 0.80
emitRegistrationMethod · 0.80
emitMethod · 0.80
emitRegistrationMethod · 0.80

Calls 1

lineMethod · 0.95

Tested by

no test coverage detected