NewArrayDimFetch node constructor
(Variable node.Node, Dim node.Node)
| 17 | |
| 18 | // NewArrayDimFetch node constructor |
| 19 | func 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 |
| 28 | func (n *ArrayDimFetch) SetPosition(p *position.Position) { |