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

Method GetPosition

node/stmt/n_trait_method_ref.go:33–35  ·  view source on GitHub ↗

GetPosition returns node positions

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected