Lines Matching refs:strings
27 defaultEscaper = strings.NewReplacer(
29 inputEscaper = strings.NewReplacer(
32 outputEscaper = strings.NewReplacer(
40 ValueWithEscaper(w io.StringWriter, pkgNames map[*packageContext]string, escaper *strings.Replacer)
46 strings []string member
72 if len(ps.result.variables) == len(ps.result.strings) {
74 ps.result.strings = append(ps.result.strings, "")
83 if len(ps.result.strings) != len(ps.result.variables) {
86 ps.result.strings = append(ps.result.strings, ps.pendingStr+s)
97 n := strings.Count(str, "$")
99 if strings.HasPrefix(str, " ") {
105 strings: make([]string, 0, n+1),
288 if len(n.strings) == 1 {
289 return defaultEscaper.Replace(n.strings[0])
291 str := &strings.Builder{}
297 escaper *strings.Replacer) {
299 w.WriteString(escaper.Replace(n.strings[0]))
304 w.WriteString(escaper.Replace(n.strings[i+1]))
309 str := n.strings[0]
319 str += value + n.strings[i+1]
333 escaper *strings.Replacer) {
398 if strings.ContainsRune(argName, '.') {