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

Function NewArrayDimFetch

node/expr/n_array_dim_fetch.go:19–25  ·  view source on GitHub ↗

NewArrayDimFetch node constructor

(Variable node.Node, Dim node.Node)

Source from the content-addressed store, hash-verified

17
18// NewArrayDimFetch node constructor
19func NewArrayDimFetch(Variable node.Node, Dim node.Node) *ArrayDimFetch {
20 return &ArrayDimFetch{
21 FreeFloating: nil,
22 Variable: Variable,
23 Dim: Dim,
24 }
25}
26
27// SetPosition sets node position
28func (n *ArrayDimFetch) 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…