MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / consumeAMatchToken

Method consumeAMatchToken

packages/core/css/CSS3Parser.ts:275–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273 }
274
275 private consumeAMatchToken(): '*=' | '$=' | '|=' | '~=' | '^=' | null {
276 if (this.text[this.nextInputCodePointIndex + 1] === '=') {
277 const token = this.text.substr(this.nextInputCodePointIndex, 2);
278 this.nextInputCodePointIndex += 2;
279
280 return <'*=' | '$=' | '|=' | '~=' | '^='>token;
281 }
282
283 return null;
284 }
285
286 /**
287 * 4.3.2. Consume a numeric token

Callers 1

consumeATokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected