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

Method SetPosition

node/stmt/n_interface.go:32–34  ·  view source on GitHub ↗

SetPosition sets node position

(p *position.Position)

Source from the content-addressed store, hash-verified

30
31// SetPosition sets node position
32func (n *Interface) SetPosition(p *position.Position) {
33 n.Position = p
34}
35
36// GetPosition returns node positions
37func (n *Interface) GetPosition() *position.Position {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected