github.com/oweisse/u-root@v0.0.0-20181109060735-d005ad25fef1/cmds/elvish/eval/value.go (about) 1 package eval 2 3 // Callable wraps the Call method. 4 type Callable interface { 5 // Call calls the receiver in a Frame with arguments and options. 6 Call(fm *Frame, args []interface{}, opts map[string]interface{}) error 7 } 8 9 var ( 10 // NoArgs is an empty argument list. It can be used as an argument to Call. 11 NoArgs = []interface{}{} 12 // NoOpts is an empty option map. It can be used as an argument to Call. 13 NoOpts = map[string]interface{}{} 14 ) 15