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

Method GetPosition

node/expr/n_arrow_function.go:41–43  ·  view source on GitHub ↗

GetPosition returns node positions

()

Source from the content-addressed store, hash-verified

39
40// GetPosition returns node positions
41func (n *ArrowFunction) GetPosition() *position.Position {
42 return n.Position
43}
44
45func (n *ArrowFunction) GetFreeFloating() *freefloating.Collection {
46 return &n.FreeFloating

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected