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

Function reset

packages/compiler-core/src/parser.ts:1018–1026  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1016}
1017
1018function reset() {
1019 tokenizer.reset()
1020 currentOpenTag = null
1021 currentProp = null
1022 currentAttrValue = ''
1023 currentAttrStartIndex = -1
1024 currentAttrEndIndex = -1
1025 stack.length = 0
1026}
1027
1028export function baseParse(input: string, options?: ParserOptions): RootNode {
1029 reset()

Callers 6

baseParseFunction · 0.70
injectHookFunction · 0.50
setupStatefulComponentFunction · 0.50
finishComponentSetupFunction · 0.50
instanceWatchFunction · 0.50
resolvePropValueFunction · 0.50

Calls 1

resetMethod · 0.65

Tested by

no test coverage detected