MCPcopy
hub / github.com/lutzroeder/netron / _skipLine

Method _skipLine

source/python.js:1881–1888  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1879 return position >= this._text.length ? '\0' : this._text[position];
1880 }
1881 _skipLine() {
1882 while (this._position < this._text.length) {
1883 if (ast._Tokenizer._isNewline(this._get(this._position))) {
1884 break;
1885 }
1886 this._position++;
1887 }
1888 }
1889 _skipWhitespace() {
1890 while (this._position < this._text.length) {
1891 const c = this._text[this._position];

Callers 1

_skipWhitespaceMethod · 0.45

Calls 2

_isNewlineMethod · 0.45
_getMethod · 0.45

Tested by

no test coverage detected