(dst node.Node, p freefloating.Position, strings []freefloating.String)
| 111 | } |
| 112 | |
| 113 | func (l *Parser) setFreeFloating(dst node.Node, p freefloating.Position, strings []freefloating.String) { |
| 114 | if l.Lexer.GetWithFreeFloating() == false { |
| 115 | return |
| 116 | } |
| 117 | |
| 118 | if len(strings) == 0 { |
| 119 | return |
| 120 | } |
| 121 | |
| 122 | dstCollection := dst.GetFreeFloating() |
| 123 | if *dstCollection == nil { |
| 124 | *dstCollection = make(freefloating.Collection) |
| 125 | } |
| 126 | |
| 127 | (*dstCollection)[p] = strings |
| 128 | } |
| 129 | |
| 130 | func (l *Parser) GetFreeFloatingToken(t *scanner.Token) []freefloating.String { |
| 131 | if l.Lexer.GetWithFreeFloating() == false { |
no test coverage detected