MCPcopy Create free account
hub / github.com/TruthHun/BookStack / parseBracket

Function parseBracket

static/vuejs/vue.js:5649–5665  ·  view source on GitHub ↗
(chr)

Source from the content-addressed store, hash-verified

5647}
5648
5649function parseBracket (chr) {
5650 var inBracket = 1;
5651 expressionPos = index$1;
5652 while (!eof()) {
5653 chr = next();
5654 if (isStringStart(chr)) {
5655 parseString(chr);
5656 continue
5657 }
5658 if (chr === 0x5B) { inBracket++; }
5659 if (chr === 0x5D) { inBracket--; }
5660 if (inBracket === 0) {
5661 expressionEndPos = index$1;
5662 break
5663 }
5664 }
5665}
5666
5667function parseString (chr) {
5668 var stringQuote = chr;

Callers 1

parseModelFunction · 0.70

Calls 4

eofFunction · 0.70
nextFunction · 0.70
isStringStartFunction · 0.70
parseStringFunction · 0.70

Tested by

no test coverage detected