MCPcopy
hub / github.com/webpack/webpack / findLeftCurly

Function findLeftCurly

lib/css/CssParser.js:553–559  ·  view source on GitHub ↗
(input, pos)

Source from the content-addressed store, hash-verified

551 * @returns {number} position of the next `{`, or EOF if none
552 */
553const findLeftCurly = (input, pos) => {
554 while (pos < input.length) {
555 if (input.charCodeAt(pos) === CC_LEFT_CURLY) return pos;
556 pos++;
557 }
558 return pos;
559};
560
561/**
562 * Defines the css parser own options type used by this module.

Callers 1

walkSelectorListMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected