Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
201
func
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
212
func
multiLineComment(l *Lexer) stateFn {
213
for
{
Callers
nothing calls this directly
Calls
2
skip
Method · 0.80
next
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…