Lines Matching defs:shlex
17 __all__ = ["shlex", "split", "quote", "join"]
19 class shlex:
75 print("shlex: pushing token " + repr(tok))
88 print('shlex: pushing to file %s' % (self.infile,))
90 print('shlex: pushing to stream %s' % (self.instream,))
97 print('shlex: popping to %s, line %d' \
106 print("shlex: popping token " + repr(tok))
128 print("shlex: token=" + repr(raw))
130 print("shlex: token=EOF")
144 print("shlex: in state %r I see character: %r" % (self.state,
155 print("shlex: I see whitespace in whitespace state")
189 print("shlex: I see EOF in quotes state")
208 print("shlex: I see EOF in escape state")
224 print("shlex: I see whitespace in word state")
262 print("shlex: I see punctuation in word state")
274 print("shlex: raw token=" + repr(result))
276 print("shlex: raw token=EOF")
309 warnings.warn("Passing None for 's' to shlex.split() is deprecated.",
311 lex = shlex(s, posix=posix)
346 _print_tokens(shlex())
350 _print_tokens(shlex(f, fn))