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

Function pointer

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

Source from the content-addressed store, hash-verified

224}
225
226func pointer(l *Lexer) stateFn {
227 l.accept("#")
228 l.emit(Operator)
229 for {
230 switch r := l.next(); {
231 case utils.IsAlphaNumeric(r): // absorb
232 default:
233 l.backup()
234 if l.word() != "" {
235 l.emit(Identifier)
236 }
237 return root
238 }
239 }
240}

Callers

nothing calls this directly

Calls 6

IsAlphaNumericFunction · 0.92
acceptMethod · 0.80
backupMethod · 0.80
wordMethod · 0.80
emitMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…