MCPcopy Index your code
hub / github.com/idank/explainshell / visitpipe

Method visitpipe

explainshell/matcher.py:219–228  ·  view source on GitHub ↗
(self, node, pipe)

Source from the content-addressed store, hash-verified

217 )
218
219 def visitpipe(self, node, pipe):
220 self.groups[0].results.append(
221 MatchResult(
222 node.pos[0],
223 node.pos[1],
224 help_constants.PIPELINES,
225 None,
226 {"kind": "pipe"},
227 )
228 )
229
230 def visitredirect(self, node, input, r_type, output, heredoc):
231 helptext = [help_constants.REDIRECTION]

Callers

nothing calls this directly

Calls 1

MatchResultClass · 0.85

Tested by

no test coverage detected