NewFunctionCall node constructor
(Function node.Node, ArgumentList *node.ArgumentList)
| 17 | |
| 18 | // NewFunctionCall node constructor |
| 19 | func NewFunctionCall(Function node.Node, ArgumentList *node.ArgumentList) *FunctionCall { |
| 20 | return &FunctionCall{ |
| 21 | FreeFloating: nil, |
| 22 | Function: Function, |
| 23 | ArgumentList: ArgumentList, |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | // SetPosition sets node position |
| 28 | func (n *FunctionCall) SetPosition(p *position.Position) { |