MCPcopy Index your code
hub / github.com/reactjs/react-rails / isIdentifierStart

Function isIdentifierStart

lib/assets/javascripts/JSXTransformer.js:2681–2687  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

2679 // 7.6 Identifier Names and Identifiers
2680
2681 function isIdentifierStart(ch) {
2682 return (ch === 36) || (ch === 95) || // $ (dollar) and _ (underscore)
2683 (ch >= 65 && ch <= 90) || // A..Z
2684 (ch >= 97 && ch <= 122) || // a..z
2685 (ch === 92) || // \ (backslash)
2686 ((ch >= 0x80) && Regex.NonAsciiIdentifierStart.test(String.fromCharCode(ch)));
2687 }
2688
2689 function isIdentifierPart(ch) {
2690 return (ch === 36) || (ch === 95) || // $ (dollar) and _ (underscore)

Callers 8

getEscapedIdentifierFunction · 0.85
scanHexLiteralFunction · 0.85
scanBinaryLiteralFunction · 0.85
scanOctalLiteralFunction · 0.85
scanNumericLiteralFunction · 0.85
advanceFunction · 0.85
parseReturnStatementFunction · 0.85
isJSXIdentifierStartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected