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

Method SetPosition

node/scalar/node_encapsed_string_part.go:25–27  ·  view source on GitHub ↗

SetPosition sets node position

(p *position.Position)

Source from the content-addressed store, hash-verified

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

Callers 2

ParseMethod · 0.95
ParseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected