| 3014 | func (p *Printer) emitPartiallyEmittedExpression(node *ast.PartiallyEmittedExpression) { |
| 3015 | // avoid reprinting parens for nested partially emitted expressions |
| 3016 | type entry struct { |
| 3017 | node *ast.PartiallyEmittedExpression |
| 3018 | state printerState |
| 3019 | } |
| 3020 | var stack core.Stack[entry] |
| 3021 | for { |
| 3022 | state := p.enterNode(node.AsNode()) |