NewShellExec node constructor
(Parts []node.Node)
| 16 | |
| 17 | // NewShellExec node constructor |
| 18 | func NewShellExec(Parts []node.Node) *ShellExec { |
| 19 | return &ShellExec{ |
| 20 | FreeFloating: nil, |
| 21 | Parts: Parts, |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | // SetPosition sets node position |
| 26 | func (n *ShellExec) SetPosition(p *position.Position) { |