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

Method _isSpace

source/python.js:1814–1822  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

1812 return this._position - this.linepos + 1;
1813 }
1814 static _isSpace(c) {
1815 if (c === ' ' || c === '\t' || c === '\v' || c === '\f' || c === '\xA0') {
1816 return true;
1817 }
1818 if (c.charCodeAt(0) >= 0x1680) {
1819 return ast._Tokenizer._whitespace.test(c);
1820 }
1821 return false;
1822 }
1823 static _isNewline(c) {
1824 switch (c) {
1825 case '\n':

Callers 2

_skipWhitespaceMethod · 0.45
_tokenizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected