MCPcopy
hub / github.com/adonovan/gopl.io / call

Struct call

ch7/eval/ast.go:35–38  ·  view source on GitHub ↗

A call represents a function call expression, e.g., sin(x).

Source from the content-addressed store, hash-verified

33
34// A call represents a function call expression, e.g., sin(x).
35type call struct {
36 fn string // one of "pow", "sin", "sqrt"
37 args []Expr
38}
39
40//!-ast

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected