type go/ast.CallExpr
39 uses
go/ast (current package)
ast.go#L387: CallExpr struct {
ast.go#L509: func (x *CallExpr) Pos() token.Pos { return x.Fun.Pos() }
ast.go#L543: func (x *CallExpr) End() token.Pos { return x.Rparen + 1 }
ast.go#L574: func (*CallExpr) exprNode() {}
ast.go#L676: Call *CallExpr
ast.go#L682: Call *CallExpr
walk.go#L119: case *CallExpr:
go/parser
parser.go#L1610: func (p *parser) parseCallOrConversion(fun ast.Expr) *ast.CallExpr {
parser.go#L1633: return &ast.CallExpr{Fun: fun, Lparen: lparen, Args: list, Ellipsis: ellipsis, Rparen: rparen}
parser.go#L1984: func (p *parser) parseCallExpr(callType string) *ast.CallExpr {
parser.go#L1990: if call, isCall := x.(*ast.CallExpr); isCall {
parser.go#L2700: case *ast.CallExpr:
go/printer
nodes.go#L971: case *ast.CallExpr:
go/types
assignments.go#L360: if call, _ := ast.Unparen(rhs0).(*ast.CallExpr); call != nil {
assignments.go#L400: _, isCall = ast.Unparen(orig_rhs[0]).(*ast.CallExpr)
assignments.go#L479: _, isCall = ast.Unparen(orig_rhs[0]).(*ast.CallExpr)
builtins.go#L23: func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ bool) {
builtins.go#L624: p = make(map[*ast.CallExpr]bool)
call.go#L173: func (check *Checker) callExpr(x *operand, call *ast.CallExpr) exprKind {
call.go#L462: func (check *Checker) arguments(call *ast.CallExpr, sig *Signature, targs []Type, xlist []ast.Expr, args []*operand, atargs [][]Type, atxlist [][]ast.Expr) (rsig *Signature) {
check.go#L80: isPanic map[*ast.CallExpr]bool // set of panic call expressions (used for termination check)
expr.go#L261: case *ast.CallExpr:
expr.go#L1087: case *ast.CallExpr:
exprstring.go#L103: case *ast.CallExpr:
return.go#L32: if call, ok := ast.Unparen(s.X).(*ast.CallExpr); ok && check.isPanic[call] {
stmt.go#L171: func (check *Checker) suspendedCall(keyword string, call *ast.CallExpr) {
util.go#L31: func hasDots(call *ast.CallExpr) bool { return call.Ellipsis.IsValid() }
util.go#L34: func dddErrPos(call *ast.CallExpr) positioner { return atPos(call.Ellipsis) }
util.go#L47: func argErrPos(call *ast.CallExpr) positioner { return inNode(call, call.Rparen) }
golang.org/x/tools/go/types/typeutil
callee.go#L20: func Callee(info *types.Info, call *ast.CallExpr) types.Object {
callee.go#L36: func StaticCallee(info *types.Info, call *ast.CallExpr) *types.Func {
golang.org/x/tools/internal/typesinternal
classify_call.go#L64: func ClassifyCall(info *types.Info, call *ast.CallExpr) CallKind {
zerovalue.go#L183: X: &ast.CallExpr{
gotest.tools/v3/internal/assert
result.go#L130: if callExpr, ok := args[1].(*ast.CallExpr); ok {
result.go#L142: if callExpr, ok := args[0].(*ast.CallExpr); ok {
gotest.tools/v3/internal/source
source.go#L100: expr *ast.CallExpr
source.go#L110: case *ast.CallExpr:
update.go#L53: len(expr), debugFormatNode{Node: &ast.CallExpr{Args: expr}})
update.go#L60: debugFormatNode{Node: &ast.CallExpr{Args: expr}})