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

Method SetPosition

node/expr/n_arrow_function.go:36–38  ·  view source on GitHub ↗

SetPosition sets node position

(p *position.Position)

Source from the content-addressed store, hash-verified

34
35// SetPosition sets node position
36func (n *ArrowFunction) SetPosition(p *position.Position) {
37 n.Position = p
38}
39
40// GetPosition returns node positions
41func (n *ArrowFunction) GetPosition() *position.Position {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected