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

Function peg$parseCustomElementEnder

lib/parser.js:1923–1974  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1921 }
1922
1923 function peg$parseCustomElementEnder() {
1924 var s0, s1, s2, s3, s4;
1925
1926 s0 = peg$currPos;
1927 if (input.substr(peg$currPos, 2) === peg$c34) {
1928 s1 = peg$c34;
1929 peg$currPos += 2;
1930 } else {
1931 s1 = peg$FAILED;
1932 if (peg$silentFails === 0) { peg$fail(peg$c35); }
1933 }
1934 if (s1 !== peg$FAILED) {
1935 s2 = peg$parseCustomElementName();
1936 if (s2 !== peg$FAILED) {
1937 if (input.charCodeAt(peg$currPos) === 62) {
1938 s3 = peg$c21;
1939 peg$currPos++;
1940 } else {
1941 s3 = peg$FAILED;
1942 if (peg$silentFails === 0) { peg$fail(peg$c22); }
1943 }
1944 if (s3 !== peg$FAILED) {
1945 peg$reportedPos = peg$currPos;
1946 s4 = peg$c30(s2);
1947 if (s4) {
1948 s4 = peg$c5;
1949 } else {
1950 s4 = peg$c3;
1951 }
1952 if (s4 !== peg$FAILED) {
1953 peg$reportedPos = s0;
1954 s1 = peg$c42(s2);
1955 s0 = s1;
1956 } else {
1957 peg$currPos = s0;
1958 s0 = peg$c3;
1959 }
1960 } else {
1961 peg$currPos = s0;
1962 s0 = peg$c3;
1963 }
1964 } else {
1965 peg$currPos = s0;
1966 s0 = peg$c3;
1967 }
1968 } else {
1969 peg$currPos = s0;
1970 s0 = peg$c3;
1971 }
1972
1973 return s0;
1974 }
1975
1976 function peg$parseCONTENT_ELEMENT() {
1977 var s0, s1, s2, s3, s4, s5, s6;

Callers 1

peg$parseRAWFunction · 0.85

Calls 4

peg$failFunction · 0.85
peg$c30Function · 0.85
peg$c42Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…