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

Method GetPosition

node/stmt/n_class_method.go:43–45  ·  view source on GitHub ↗

GetPosition returns node positions

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected