Searched refs:quoter (Results 1 – 6 of 6) sorted by relevance
41 private StringTransform quoter = null; field in UnicodeSetPrettyPrinter50 return quoter; in getQuoter()53 public UnicodeSetPrettyPrinter setQuoter(StringTransform quoter) { in setQuoter() argument54 this.quoter = quoter; in setQuoter()225 if (toQuote.containsSome(s) && quoter != null) { in appendQuoted()226 target.append(quoter.transform(s)); in appendQuoted()239 if (quoter != null) { in appendQuoted()240 target.append(quoter.transform(UTF16.valueOf(codePoint))); in appendQuoted()
26 private Quoter quoter; field in Pick.Target28 public static Target make(Pick pick, Random random, Quoter quoter) { in make() argument32 result.quoter = quoter; in make()37 quoter.clear(); in next()43 return quoter.toString(); in get()51 quoter.clear(); in clear()58 quoter.append(codepoint); in append()63 quoter.append(s); in append()449 target.quoter.setQuoting(true); in addTo()451 target.quoter.setQuoting(false); in addTo()
25 private Quoter quoter; field in BNF61 public BNF(Random random, Quoter quoter) { in BNF() argument63 this.quoter = quoter; in BNF()123 target = Pick.Target.make(pick, random, quoter); in complete()
860 quoter = _safe_quoters[safe]862 _safe_quoters[safe] = quoter = Quoter(safe).__getitem__863 return ''.join([quoter(char) for char in bs])
1289 (quoter, safe) = _safe_quoters[cachekey]1293 quoter = safe_map.__getitem__1295 _safe_quoters[cachekey] = (quoter, safe)1298 return ''.join(map(quoter, s))
970 quoter = urllib.parse.Quoter(urllib.parse._ALWAYS_SAFE)971 self.assertIn('Quoter', repr(quoter))