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

Function multiLineComment

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

Source from the content-addressed store, hash-verified

210}
211
212func multiLineComment(l *Lexer) stateFn {
213 for {
214 r := l.next()
215 if r == eof {
216 return l.error("unclosed comment")
217 }
218 if r == '*' && l.accept("/") {
219 break
220 }
221 }
222 l.skip()
223 return root
224}
225
226func pointer(l *Lexer) stateFn {
227 l.accept("#")

Callers

nothing calls this directly

Calls 4

acceptMethod · 0.80
skipMethod · 0.80
nextMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…