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

Method consumeAHashToken

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

Source from the content-addressed store, hash-verified

242 }
243
244 private consumeAHashToken(): InputTokenObject {
245 this.nextInputCodePointIndex++;
246 const hashName = this.consumeAName();
247 if (hashName) {
248 return { type: TokenObjectType.hash, text: '#' + hashName.text };
249 }
250 this.nextInputCodePointIndex--;
251
252 return null;
253 }
254
255 private consumeCDO(): '<!--' | null {
256 if (this.text.substr(this.nextInputCodePointIndex, 4) === '<!--') {

Callers 1

consumeATokenMethod · 0.95

Calls 1

consumeANameMethod · 0.95

Tested by

no test coverage detected