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

Method GetPosition

node/expr/n_array_item.go:35–37  ·  view source on GitHub ↗

GetPosition returns node positions

()

Source from the content-addressed store, hash-verified

33
34// GetPosition returns node positions
35func (n *ArrayItem) GetPosition() *position.Position {
36 return n.Position
37}
38
39func (n *ArrayItem) GetFreeFloating() *freefloating.Collection {
40 return &n.FreeFloating

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected