MCPcopy Index your code
hub / github.com/coder/coder / callReceiver

Function callReceiver

scripts/intxcheck/analyzer.go:551–557  ·  view source on GitHub ↗
(call *ast.CallExpr)

Source from the content-addressed store, hash-verified

549}
550
551func callReceiver(call *ast.CallExpr) ast.Expr {
552 selector, ok := unparen(call.Fun).(*ast.SelectorExpr)
553 if !ok {
554 return nil
555 }
556 return selector.X
557}
558
559func suppressedLines(fset *token.FileSet, file *ast.File) map[int]bool {
560 lines := make(map[int]bool)

Callers 1

classifyCallFunction · 0.85

Calls 1

unparenFunction · 0.85

Tested by

no test coverage detected