MCPcopy Index your code
hub / github.com/BloombergGraphics/whatiscode / isLineTerminator

Function isLineTerminator

scripts/libs/esprima.js:247–249  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

245 // 7.3 Line Terminators
246
247 function isLineTerminator(ch) {
248 return (ch === 0x0A) || (ch === 0x0D) || (ch === 0x2028) || (ch === 0x2029);
249 }
250
251 // 7.6 Identifier Names and Identifiers
252

Callers 5

skipSingleLineCommentFunction · 0.85
skipMultiLineCommentFunction · 0.85
skipCommentFunction · 0.85
scanStringLiteralFunction · 0.85
scanRegExpBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected