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

Method SetPosition

node/stmt/n_class_method.go:38–40  ·  view source on GitHub ↗

SetPosition sets node position

(p *position.Position)

Source from the content-addressed store, hash-verified

36
37// SetPosition sets node position
38func (n *ClassMethod) SetPosition(p *position.Position) {
39 n.Position = p
40}
41
42// GetPosition returns node positions
43func (n *ClassMethod) GetPosition() *position.Position {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected