Lines Matching refs:infile
21 def __init__(self, instream=None, infile=None, posix=False, argument
27 self.infile = infile
30 self.infile = None
78 self.filestack.appendleft((self.infile, self.instream, self.lineno))
79 self.infile = newfile
84 print('shlex: pushing to file %s' % (self.infile,))
91 (self.infile, self.instream, self.lineno) = self.filestack.popleft()
279 if isinstance(self.infile, str) and not os.path.isabs(newfile):
280 newfile = os.path.join(os.path.dirname(self.infile), newfile)
283 def error_leader(self, infile=None, lineno=None): argument
285 if infile is None:
286 infile = self.infile
289 return "\"%s\", line %d: " % (infile, lineno)