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

Method SetPosition

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

SetPosition sets node position

(p *position.Position)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected