MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / lexSSH

Function lexSSH

cli/pkg/ssh_config/lexer.go:233–245  ·  view source on GitHub ↗
(input []byte)

Source from the content-addressed store, hash-verified

231}
232
233func lexSSH(input []byte) chan token {
234 runes := bytes.Runes(input)
235 l := &sshLexer{
236 input: runes,
237 tokens: make(chan token),
238 line: 1,
239 col: 1,
240 endbufferLine: 1,
241 endbufferCol: 1,
242 }
243 go l.run()
244 return l.tokens
245}

Callers 1

decodeBytesFunction · 0.85

Calls 1

runMethod · 0.95

Tested by

no test coverage detected