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

Function peg$parseIdentifierPart

lib/parser.js:3598–3631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3596 }
3597
3598 function peg$parseIdentifierPart() {
3599 var s0;
3600
3601 s0 = peg$parseIdentifierStart();
3602 if (s0 === peg$FAILED) {
3603 s0 = peg$parseUnicodeCombiningMark();
3604 if (s0 === peg$FAILED) {
3605 s0 = peg$parseNd();
3606 if (s0 === peg$FAILED) {
3607 s0 = peg$parsePc();
3608 if (s0 === peg$FAILED) {
3609 if (input.charCodeAt(peg$currPos) === 8204) {
3610 s0 = peg$c123;
3611 peg$currPos++;
3612 } else {
3613 s0 = peg$FAILED;
3614 if (peg$silentFails === 0) { peg$fail(peg$c124); }
3615 }
3616 if (s0 === peg$FAILED) {
3617 if (input.charCodeAt(peg$currPos) === 8205) {
3618 s0 = peg$c125;
3619 peg$currPos++;
3620 } else {
3621 s0 = peg$FAILED;
3622 if (peg$silentFails === 0) { peg$fail(peg$c126); }
3623 }
3624 }
3625 }
3626 }
3627 }
3628 }
3629
3630 return s0;
3631 }
3632
3633 function peg$parseUnicodeLetter() {
3634 var s0;

Callers 15

peg$parseIdentifierNameFunction · 0.85
peg$parseBreakTokenFunction · 0.85
peg$parseCaseTokenFunction · 0.85
peg$parseCatchTokenFunction · 0.85
peg$parseClassTokenFunction · 0.85
peg$parseConstTokenFunction · 0.85
peg$parseContinueTokenFunction · 0.85
peg$parseDebuggerTokenFunction · 0.85
peg$parseDefaultTokenFunction · 0.85
peg$parseDeleteTokenFunction · 0.85
peg$parseDoTokenFunction · 0.85
peg$parseElseTokenFunction · 0.85

Calls 5

peg$parseIdentifierStartFunction · 0.85
peg$parseNdFunction · 0.85
peg$parsePcFunction · 0.85
peg$failFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…