MCPcopy Create free account
hub / github.com/MMmaXingXing/mini-vue / parseTextData

Function parseTextData

code/src/compiler-core/src/parse.ts:77–82  ·  view source on GitHub ↗
(context, length)

Source from the content-addressed store, hash-verified

75};
76
77const parseTextData = (context, length) => {
78 const content = context.source.slice(0, length);
79 // 2. 推进
80 advanceBy(context, length);
81 return content;
82};
83
84const parseElement = (context, ancestors) => {
85 // Implement

Callers 2

parseTextFunction · 0.70
parseInterpolationFunction · 0.70

Calls 1

advanceByFunction · 0.70

Tested by

no test coverage detected