MCPcopy Index your code
hub / github.com/SirVer/ultisnips / __init__

Method __init__

pythonx/UltiSnips/text_objects/shell_code.py:67–70  ·  view source on GitHub ↗
(self, parent, token)

Source from the content-addressed store, hash-verified

65 """See module docstring."""
66
67 def __init__(self, parent, token):
68 super().__init__(parent, token.start, token.end, token.initial_text)
69 self._code = token.code.replace("\\`", "`")
70 self._tmpdir = _get_tmp()
71
72 def _update(self, done, buf):
73 if not self._tmpdir:

Callers

nothing calls this directly

Calls 2

_get_tmpFunction · 0.85
replaceMethod · 0.80

Tested by

no test coverage detected