(n node.Node)
| 1285 | } |
| 1286 | |
| 1287 | func (p *Printer) printExprArrayDimFetchWithoutLeadingDollar(n node.Node) { |
| 1288 | nn := n.(*expr.ArrayDimFetch) |
| 1289 | p.printFreeFloating(nn, freefloating.Start) |
| 1290 | p.printExprVariableWithoutLeadingDollar(nn.Variable) |
| 1291 | p.printFreeFloating(nn, freefloating.Var) |
| 1292 | if nn.GetFreeFloating().IsEmpty() { |
| 1293 | io.WriteString(p.w, "[") |
| 1294 | } |
| 1295 | p.Print(nn.Dim) |
| 1296 | p.printFreeFloating(nn, freefloating.Expr) |
| 1297 | if nn.GetFreeFloating().IsEmpty() { |
| 1298 | io.WriteString(p.w, "]") |
| 1299 | } |
| 1300 | p.printFreeFloating(nn, freefloating.End) |
| 1301 | } |
| 1302 | |
| 1303 | func (p *Printer) printExprArrayItem(n node.Node) { |
| 1304 | nn := n.(*expr.ArrayItem) |
no test coverage detected