MCPcopy Index your code
hub / github.com/ygs-code/vue / parseString

Function parseString

vue.js:10070–10078  ·  view source on GitHub ↗
(chr)

Source from the content-addressed store, hash-verified

10068 }
10069 //循环匹配一对''或者""符号
10070 function parseString(chr) {
10071 var stringQuote = chr; //记录当前的'或者"
10072 while (!eof()) {
10073 chr = next();
10074 if (chr === stringQuote) { //当他们匹配上一对的时候退出循环
10075 break
10076 }
10077 }
10078 }
10079
10080 /* */
10081

Callers 2

parseModelFunction · 0.85
parseBracketFunction · 0.85

Calls 2

eofFunction · 0.85
nextFunction · 0.85

Tested by

no test coverage detected