(node *ast.ForInitializer)
| 3505 | } |
| 3506 | |
| 3507 | func (p *Printer) emitForInitializer(node *ast.ForInitializer) { |
| 3508 | if node.Kind == ast.KindVariableDeclarationList { |
| 3509 | p.emitVariableDeclarationList(node.AsVariableDeclarationList()) |
| 3510 | } else { |
| 3511 | p.emitExpression(node, ast.OperatorPrecedenceLowest) |
| 3512 | } |
| 3513 | } |
| 3514 | |
| 3515 | func (p *Printer) emitForStatement(node *ast.ForStatement) { |
| 3516 | state := p.enterNode(node.AsNode()) |
no test coverage detected