Lines Matching refs:strings
26 defaultEscaper = strings.NewReplacer(
28 inputEscaper = strings.NewReplacer(
31 outputEscaper = strings.NewReplacer(
39 ValueWithEscaper(pkgNames map[*packageContext]string, escaper *strings.Replacer) string
45 strings []string member
71 if len(ps.result.variables) == len(ps.result.strings) {
73 ps.result.strings = append(ps.result.strings, "")
82 if len(ps.result.strings) != len(ps.result.variables) {
85 ps.result.strings = append(ps.result.strings, ps.pendingStr+s)
96 n := strings.Count(str, "$")
98 if strings.HasPrefix(str, " ") {
104 strings: make([]string, 0, n+1),
291 escaper *strings.Replacer) string {
293 if len(n.strings) == 1 {
294 return escaper.Replace(n.strings[0])
297 str := strings.Builder{}
298 str.WriteString(escaper.Replace(n.strings[0]))
303 str.WriteString(escaper.Replace(n.strings[i+1]))
310 str := n.strings[0]
320 str += value + n.strings[i+1]
334 escaper *strings.Replacer) string {
399 if strings.ContainsRune(argName, '.') {