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

Function NewReference

node/expr/n_reference.go:18–23  ·  view source on GitHub ↗

NewReference node constructor

(Variable node.Node)

Source from the content-addressed store, hash-verified

16
17// NewReference node constructor
18func NewReference(Variable node.Node) *Reference {
19 return &Reference{
20 FreeFloating: nil,
21 Variable: Variable,
22 }
23}
24
25// SetPosition sets node position
26func (n *Reference) SetPosition(p *position.Position) {

Callers 2

ParseMethod · 0.92
ParseMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…