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

Method SetPosition

node/expr/n_exit.go:27–29  ·  view source on GitHub ↗

SetPosition sets node position

(p *position.Position)

Source from the content-addressed store, hash-verified

25
26// SetPosition sets node position
27func (n *Exit) SetPosition(p *position.Position) {
28 n.Position = p
29}
30
31// GetPosition returns node positions
32func (n *Exit) GetPosition() *position.Position {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected