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

Method SetPosition

node/expr/n_variable.go:26–28  ·  view source on GitHub ↗

SetPosition sets node position

(p *position.Position)

Source from the content-addressed store, hash-verified

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

Callers 2

ParseMethod · 0.95
ParseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected