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

Method GetPosition

node/stmt/n_interface.go:37–39  ·  view source on GitHub ↗

GetPosition returns node positions

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected