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

Function toCharCodes

packages/compiler-core/src/tokenizer.ts:165–171  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

163}
164
165export function toCharCodes(str: string): Uint8Array {
166 const ret = new Uint8Array(str.length)
167 for (let i = 0; i < str.length; i++) {
168 ret[i] = str.charCodeAt(i)
169 }
170 return ret
171}
172
173export enum QuoteType {
174 NoValue = 0,

Callers 3

onattribendFunction · 0.90
baseParseFunction · 0.90
stateInSFCRootTagNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected