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

Function onattribname

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

Source from the content-addressed store, hash-verified

188 },
189
190 onattribname(start, end) {
191 // plain attribute
192 currentProp = {
193 type: NodeTypes.ATTRIBUTE,
194 name: getSlice(start, end),
195 nameLoc: getLoc(start, end),
196 value: undefined,
197 loc: getLoc(start),
198 }
199 },
200
201 ondirname(start, end) {
202 const raw = getSlice(start, end)

Callers

nothing calls this directly

Calls 2

getSliceFunction · 0.85
getLocFunction · 0.85

Tested by

no test coverage detected