MCPcopy Index your code
hub / github.com/dchester/jsonpath / peekLineTerminator

Function peekLineTerminator

jsonpath.js:1820–1833  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1818 // Return true if there is a line terminator before the next token.
1819
1820 function peekLineTerminator() {
1821 var pos, line, start, found;
1822
1823 pos = index;
1824 line = lineNumber;
1825 start = lineStart;
1826 skipComment();
1827 found = lineNumber !== line;
1828 index = pos;
1829 lineNumber = line;
1830 lineStart = start;
1831
1832 return found;
1833 }
1834
1835 // Throw an exception
1836

Callers 5

parsePostfixExpressionFunction · 0.85
parseContinueStatementFunction · 0.85
parseBreakStatementFunction · 0.85
parseReturnStatementFunction · 0.85
parseThrowStatementFunction · 0.85

Calls 1

skipCommentFunction · 0.85

Tested by

no test coverage detected