MCPcopy Create free account
hub / github.com/codemix/htmling / peg$parseMarkedIdentifier

Function peg$parseMarkedIdentifier

lib/parser.js:3478–3508  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3476 }
3477
3478 function peg$parseMarkedIdentifier() {
3479 var s0, s1, s2;
3480
3481 s0 = peg$currPos;
3482 s1 = peg$currPos;
3483 peg$silentFails++;
3484 s2 = peg$parseReservedWord();
3485 peg$silentFails--;
3486 if (s2 === peg$FAILED) {
3487 s1 = peg$c5;
3488 } else {
3489 peg$currPos = s1;
3490 s1 = peg$c3;
3491 }
3492 if (s1 !== peg$FAILED) {
3493 s2 = peg$parseIdentifierName();
3494 if (s2 !== peg$FAILED) {
3495 peg$reportedPos = s0;
3496 s1 = peg$c114(s2);
3497 s0 = s1;
3498 } else {
3499 peg$currPos = s0;
3500 s0 = peg$c3;
3501 }
3502 } else {
3503 peg$currPos = s0;
3504 s0 = peg$c3;
3505 }
3506
3507 return s0;
3508 }
3509
3510 function peg$parseIdentifierName() {
3511 var s0, s1, s2, s3, s4;

Callers 1

Calls 3

peg$parseReservedWordFunction · 0.85
peg$parseIdentifierNameFunction · 0.85
peg$c114Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…