Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ indent
Function
indent
packages/compiler-core/src/codegen.ts:237–239 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
235
}
236
},
237
indent() {
238
newline(++context.indentLevel)
239
},
240
deindent(withoutNewLine = false) {
241
if
(withoutNewLine) {
242
--context.indentLevel
Callers
7
generate
Function · 0.85
genObjectExpression
Function · 0.85
genFunctionExpression
Function · 0.85
genConditionalExpression
Function · 0.85
genCacheExpression
Function · 0.85
genTemplateLiteral
Function · 0.85
genIfStatement
Function · 0.85
Calls
1
newline
Function · 0.85
Tested by
no test coverage detected