(c)
| 1851 | return false; |
| 1852 | } |
| 1853 | static _isIdentifierChar(c) { |
| 1854 | if (c < '0') { |
| 1855 | return c === '$'; |
| 1856 | } |
| 1857 | if (c <= '9') { |
| 1858 | return true; |
| 1859 | } |
| 1860 | if (c < 'A') { |
| 1861 | return false; |
| 1862 | } |
| 1863 | if (c <= 'Z') { |
| 1864 | return true; |
| 1865 | } |
| 1866 | if (c < 'a') { |
| 1867 | return c === '_'; |
| 1868 | } |
| 1869 | if (c <= 'z') { |
| 1870 | return true; |
| 1871 | } |
| 1872 | const code = c.charCodeAt(0); |
| 1873 | if (code >= 0xAA) { |
| 1874 | return ast._Tokenizer._identifierChar.test(c); |
| 1875 | } |
| 1876 | return false; |
| 1877 | } |
| 1878 | _get(position) { |
| 1879 | return position >= this._text.length ? '\0' : this._text[position]; |
| 1880 | } |