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

Method GetPosition

node/expr/n_short_array.go:31–33  ·  view source on GitHub ↗

GetPosition returns node positions

()

Source from the content-addressed store, hash-verified

29
30// GetPosition returns node positions
31func (n *ShortArray) GetPosition() *position.Position {
32 return n.Position
33}
34
35func (n *ShortArray) GetFreeFloating() *freefloating.Collection {
36 return &n.FreeFloating

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected