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

Function NewShortArray

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

NewShortArray node constructor

(Items []node.Node)

Source from the content-addressed store, hash-verified

16
17// NewShortArray node constructor
18func NewShortArray(Items []node.Node) *ShortArray {
19 return &ShortArray{
20 FreeFloating: nil,
21 Items: Items,
22 }
23}
24
25// SetPosition sets node position
26func (n *ShortArray) 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…