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

Function isIdentifierPart

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

Source from the content-addressed store, hash-verified

2687 }
2688
2689 function isIdentifierPart(ch) {
2690 return (ch === 36) || (ch === 95) || // $ (dollar) and _ (underscore)
2691 (ch >= 65 && ch <= 90) || // A..Z
2692 (ch >= 97 && ch <= 122) || // a..z
2693 (ch >= 48 && ch <= 57) || // 0..9
2694 (ch === 92) || // \ (backslash)
2695 ((ch >= 0x80) && Regex.NonAsciiIdentifierPart.test(String.fromCharCode(ch)));
2696 }
2697
2698 // 7.6.1.2 Future Reserved Words
2699

Callers 4

getEscapedIdentifierFunction · 0.85
getIdentifierFunction · 0.85
scanRegExpFlagsFunction · 0.85
isJSXIdentifierPartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected