(node *ast.Node, indenter *dynamicIndenter, nodeStartLine int, undecoratedNodeStartLine int)
| 520 | } |
| 521 | |
| 522 | func (w *formatSpanWorker) executeProcessNodeVisitor(node *ast.Node, indenter *dynamicIndenter, nodeStartLine int, undecoratedNodeStartLine int) { |
| 523 | oldNode := w.visitingNode |
| 524 | oldIndenter := w.visitingIndenter |
| 525 | oldStart := w.visitingNodeStartLine |
| 526 | oldUndecoratedStart := w.visitingUndecoratedNodeStartLine |
| 527 | w.visitingNode = node |
| 528 | w.visitingIndenter = indenter |
| 529 | w.visitingNodeStartLine = nodeStartLine |
| 530 | w.visitingUndecoratedNodeStartLine = undecoratedNodeStartLine |
| 531 | node.VisitEachChild(w.visitor) |
| 532 | w.visitingNode = oldNode |
| 533 | w.visitingIndenter = oldIndenter |
| 534 | w.visitingNodeStartLine = oldStart |
| 535 | w.visitingUndecoratedNodeStartLine = oldUndecoratedStart |
| 536 | } |
| 537 | |
| 538 | func (w *formatSpanWorker) computeIndentation(node *ast.Node, startLine int, inheritedIndentation int, parent *ast.Node, parentDynamicIndentation *dynamicIndenter, effectiveParentStartLine int) (indentation int, delta int) { |
| 539 | delta = 0 |
no test coverage detected