MCPcopy Index your code
hub / github.com/expr-lang/expr / singleLineComment

Function singleLineComment

parser/lexer/state.go:201–210  ·  view source on GitHub ↗
(l *Lexer)

Source from the content-addressed store, hash-verified

199}
200
201func singleLineComment(l *Lexer) stateFn {
202 for {
203 r := l.next()
204 if r == eof || r == '\n' {
205 break
206 }
207 }
208 l.skip()
209 return root
210}
211
212func multiLineComment(l *Lexer) stateFn {
213 for {

Callers

nothing calls this directly

Calls 2

skipMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…