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

Struct ArrowFunction

node/expr/n_arrow_function.go:11–20  ·  view source on GitHub ↗

ArrowFunction node

Source from the content-addressed store, hash-verified

9
10// ArrowFunction node
11type ArrowFunction struct {
12 FreeFloating freefloating.Collection
13 Position *position.Position
14 ReturnsRef bool
15 Static bool
16 PhpDocComment string
17 Params []node.Node
18 ReturnType node.Node
19 Expr node.Node
20}
21
22// NewArrowFunction node constructor
23func NewArrowFunction(Params []node.Node, ReturnType node.Node, Stmt node.Node, Static bool, ReturnsRef bool, PhpDocComment string) *ArrowFunction {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected