(src node.Node, dst node.Node)
| 98 | } |
| 99 | |
| 100 | func (l *Parser) MoveFreeFloating(src node.Node, dst node.Node) { |
| 101 | if l.Lexer.GetWithFreeFloating() == false { |
| 102 | return |
| 103 | } |
| 104 | |
| 105 | if src.GetFreeFloating() == nil { |
| 106 | return |
| 107 | } |
| 108 | |
| 109 | l.setFreeFloating(dst, freefloating.Start, (*src.GetFreeFloating())[freefloating.Start]) |
| 110 | delete((*src.GetFreeFloating()), freefloating.Start) |
| 111 | } |
| 112 | |
| 113 | func (l *Parser) setFreeFloating(dst node.Node, p freefloating.Position, strings []freefloating.String) { |
| 114 | if l.Lexer.GetWithFreeFloating() == false { |
no test coverage detected