MCPcopy
hub / github.com/pegjs/pegjs / peg$parseIdentifierPart

Function peg$parseIdentifierPart

lib/parser.js:1953–1986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1951 }
1952
1953 function peg$parseIdentifierPart() {
1954 var s0;
1955
1956 s0 = peg$parseIdentifierStart();
1957 if (s0 === peg$FAILED) {
1958 s0 = peg$parseUnicodeCombiningMark();
1959 if (s0 === peg$FAILED) {
1960 s0 = peg$parseNd();
1961 if (s0 === peg$FAILED) {
1962 s0 = peg$parsePc();
1963 if (s0 === peg$FAILED) {
1964 if (input.charCodeAt(peg$currPos) === 8204) {
1965 s0 = peg$c76;
1966 peg$currPos++;
1967 } else {
1968 s0 = peg$FAILED;
1969 if (peg$silentFails === 0) { peg$fail(peg$c77); }
1970 }
1971 if (s0 === peg$FAILED) {
1972 if (input.charCodeAt(peg$currPos) === 8205) {
1973 s0 = peg$c78;
1974 peg$currPos++;
1975 } else {
1976 s0 = peg$FAILED;
1977 if (peg$silentFails === 0) { peg$fail(peg$c79); }
1978 }
1979 }
1980 }
1981 }
1982 }
1983 }
1984
1985 return s0;
1986 }
1987
1988 function peg$parseUnicodeLetter() {
1989 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…