MCPcopy
hub / github.com/aws/jsii / closeBlock

Method closeBlock

packages/codemaker/src/codemaker.ts:165–167  ·  view source on GitHub ↗

* Closes a code block. The formatting of the block is determined by `closeBlockFormatter`. * @param text The text to pass to the formatter.

(text?: string)

Source from the content-addressed store, hash-verified

163 * @param text The text to pass to the formatter.
164 */
165 public closeBlock(text?: string) {
166 this.close(this.closeBlockFormatter(text));
167 }
168
169 /**
170 * Adds a file to the exclude list. This means this file will not be saved during save().

Callers 15

onEndClassMethod · 0.80
onInitializerMethod · 0.80
onEndEnumMethod · 0.80
onEndInterfaceMethod · 0.80
onInterfacePropertyMethod · 0.80
emitStaticInitializerMethod · 0.80
emitPropertyMethod · 0.80
emitMethodMethod · 0.80
validateArrayMethod · 0.80
validateMapMethod · 0.80
validateTypeUnionMethod · 0.80

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected