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

Method _mark

source/python.js:1719–1726  ·  view source on GitHub ↗
(node, position)

Source from the content-addressed store, hash-verified

1717 return null;
1718 }
1719 _mark(node, position) {
1720 node.filename = position.filename;
1721 node.lineno = position.lineno;
1722 node.col_offset = position.col_offset;
1723 node.end_lineno = this._tokenizer.lineno;
1724 node.end_col_offset = this._tokenizer.col_offset;
1725 return node;
1726 }
1727 _position() {
1728 return {
1729 filename: this._tokenizer.filename,

Callers 5

parseMethod · 0.80
_parseStatementMethod · 0.80
_parseExpressionMethod · 0.80
_parseListMethod · 0.80
_parseNameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected