MCPcopy
hub / github.com/vuejs/core / deindent

Function deindent

packages/compiler-core/src/codegen.ts:240–246  ·  view source on GitHub ↗
(withoutNewLine = false)

Source from the content-addressed store, hash-verified

238 newline(++context.indentLevel)
239 },
240 deindent(withoutNewLine = false) {
241 if (withoutNewLine) {
242 --context.indentLevel
243 } else {
244 newline(--context.indentLevel)
245 }
246 },
247 newline() {
248 newline(context.indentLevel)
249 },

Callers 7

generateFunction · 0.85
genObjectExpressionFunction · 0.85
genFunctionExpressionFunction · 0.85
genConditionalExpressionFunction · 0.85
genCacheExpressionFunction · 0.85
genTemplateLiteralFunction · 0.85
genIfStatementFunction · 0.85

Calls 1

newlineFunction · 0.85

Tested by

no test coverage detected