Function node
| 9 | |
| 10 | // Function node |
| 11 | type Function struct { |
| 12 | FreeFloating freefloating.Collection |
| 13 | Position *position.Position |
| 14 | ReturnsRef bool |
| 15 | PhpDocComment string |
| 16 | FunctionName node.Node |
| 17 | Params []node.Node |
| 18 | ReturnType node.Node |
| 19 | Stmts []node.Node |
| 20 | } |
| 21 | |
| 22 | // NewFunction node constructor |
| 23 | func NewFunction(FunctionName node.Node, ReturnsRef bool, Params []node.Node, ReturnType node.Node, Stmts []node.Node, PhpDocComment string) *Function { |
nothing calls this directly
no outgoing calls
no test coverage detected