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

Function parseBracket

static/vuejs/vue.common.js:5655–5671  ·  view source on GitHub ↗
(chr)

Source from the content-addressed store, hash-verified

5653}
5654
5655function parseBracket (chr) {
5656 var inBracket = 1;
5657 expressionPos = index$1;
5658 while (!eof()) {
5659 chr = next();
5660 if (isStringStart(chr)) {
5661 parseString(chr);
5662 continue
5663 }
5664 if (chr === 0x5B) { inBracket++; }
5665 if (chr === 0x5D) { inBracket--; }
5666 if (inBracket === 0) {
5667 expressionEndPos = index$1;
5668 break
5669 }
5670 }
5671}
5672
5673function parseString (chr) {
5674 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