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

Method SetPosition

node/expr/n_array_item.go:30–32  ·  view source on GitHub ↗

SetPosition sets node position

(p *position.Position)

Source from the content-addressed store, hash-verified

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

Callers 1

ParseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected