MCPcopy Index your code
hub / github.com/nodejs/node / position

Method position

tools/inspector_protocol/jinja2/compiler.py:593–598  ·  view source on GitHub ↗

Return a human readable position for the node.

(self, node)

Source from the content-addressed store, hash-verified

591 macro_ref.accesses_varargs, macro_ref.accesses_caller))
592
593 def position(self, node):
594 """Return a human readable position for the node."""
595 rv = 'line %d' % node.lineno
596 if self.name is not None:
597 rv += ' in ' + repr(self.name)
598 return rv
599
600 def dump_local_context(self, frame):
601 return '{%s}' % ', '.join(

Callers 2

visit_FromImportMethod · 0.95
write_expr2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected