MCPcopy Create free account
hub / github.com/nsf/gocode / expr_to_decl

Function expr_to_decl

decl.go:610–613  ·  view source on GitHub ↗
(e ast.Expr, scope *scope)

Source from the content-addressed store, hash-verified

608}
609
610func expr_to_decl(e ast.Expr, scope *scope) *decl {
611 t, scope, _ := infer_type(e, scope, -1)
612 return type_to_decl(t, scope)
613}
614
615//-------------------------------------------------------------------------
616// Type inference

Callers 1

deduce_cursor_declMethod · 0.85

Calls 2

infer_typeFunction · 0.85
type_to_declFunction · 0.85

Tested by

no test coverage detected