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

Method lexRspace

cli/pkg/ssh_config/lexer.go:44–53  ·  view source on GitHub ↗

lex the space after an equals sign in a function

()

Source from the content-addressed store, hash-verified

42
43// lex the space after an equals sign in a function
44func (s *sshLexer) lexRspace() sshLexStateFn {
45 for {
46 next := s.peek()
47 if !isSpace(next) {
48 break
49 }
50 s.skip()
51 }
52 return s.lexRvalue
53}
54
55func (s *sshLexer) lexEquals() sshLexStateFn {
56 for {

Callers

nothing calls this directly

Calls 3

peekMethod · 0.95
skipMethod · 0.95
isSpaceFunction · 0.85

Tested by

no test coverage detected