MCPcopy Index your code
hub / github.com/lutzroeder/netron / _isIdentifierStartChar

Method _isIdentifierStartChar

source/python.js:1834–1852  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

1832 }
1833 }
1834 static _isIdentifierStartChar(c) {
1835 if (c < 'A') {
1836 return c === '$';
1837 }
1838 if (c <= 'Z') {
1839 return true;
1840 }
1841 if (c < 'a') {
1842 return c === '_';
1843 }
1844 if (c <= 'z') {
1845 return true;
1846 }
1847 const code = c.charCodeAt(0);
1848 if (code >= 0xAA) {
1849 return ast._Tokenizer._identifierStart.test(c);
1850 }
1851 return false;
1852 }
1853 static _isIdentifierChar(c) {
1854 if (c < '0') {
1855 return c === '$';

Callers 1

_identifierMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected