RemainingArgsRaw loads any more arguments (tokens on the same line, retaining quotes) into a slice of strings and returns them. Open curly brace tokens also indicate the end of arguments, and the curly brace is not included in the return value nor is it loaded.
()
| 324 | // Open curly brace tokens also indicate the end of arguments, |
| 325 | // and the curly brace is not included in the return value nor is it loaded. |
| 326 | func (d *Dispenser) RemainingArgsRaw() []string { |
| 327 | var args []string |
| 328 | for d.NextArg() { |
| 329 | args = append(args, d.ValRaw()) |
| 330 | } |
| 331 | return args |
| 332 | } |
| 333 | |
| 334 | // RemainingArgsAsTokens loads any more arguments (tokens on the same line) |
| 335 | // into a slice of Token-structs and returns them. Open curly brace tokens |
no test coverage detected