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

Function getSlice

packages/compiler-core/src/parser.ts:569–571  ·  view source on GitHub ↗
(start: number, end: number)

Source from the content-addressed store, hash-verified

567}
568
569function getSlice(start: number, end: number) {
570 return currentInput.slice(start, end)
571}
572
573function endOpenTag(end: number) {
574 if (tokenizer.inSFCRoot) {

Callers 15

ontextFunction · 0.85
oninterpolationFunction · 0.85
onopentagnameFunction · 0.85
onclosetagFunction · 0.85
onattribnameFunction · 0.85
ondirnameFunction · 0.85
ondirargFunction · 0.85
ondirmodifierFunction · 0.85
onattribdataFunction · 0.85
onattribnameendFunction · 0.85
oncommentFunction · 0.85
oncdataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected