NewCall creates a global function call invocation expression. Example: countByField(list, fieldName) - function: countByField - args: [list, fieldName]
(function string, args ...ast.Expr)
| 359 | // - function: countByField |
| 360 | // - args: [list, fieldName] |
| 361 | func (opt *optimizerExprFactory) NewCall(function string, args ...ast.Expr) ast.Expr { |
| 362 | return opt.fac.NewCall(opt.nextID(), function, args...) |
| 363 | } |
| 364 | |
| 365 | // NewMemberCall creates a member function call invocation expression where 'target' is the receiver of the call. |
| 366 | // |