MCPcopy Create free account
hub / github.com/z7zmey/php-parser / Function

Struct Function

node/stmt/n_function.go:11–20  ·  view source on GitHub ↗

Function node

Source from the content-addressed store, hash-verified

9
10// Function node
11type 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
23func NewFunction(FunctionName node.Node, ReturnsRef bool, Params []node.Node, ReturnType node.Node, Stmts []node.Node, PhpDocComment string) *Function {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected