Lines Matching refs:tstring
321 def __call__(self, ttype, tstring, stup, etup, line): argument
326 self.__state(ttype, tstring, stup[0])
328 def __waiting(self, ttype, tstring, lineno): argument
334 if ttype == tokenize.STRING and is_literal_string(tstring):
335 self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
341 if ttype == tokenize.NAME and tstring in ('class', 'def'):
344 if ttype == tokenize.NAME and tstring in opts.keywords:
347 def __suiteseen(self, ttype, tstring, lineno): argument
350 if tstring == ':' and self.__enclosurecount == 0:
353 elif tstring in '([{':
355 elif tstring in ')]}':
358 def __suitedocstring(self, ttype, tstring, lineno): argument
360 if ttype == tokenize.STRING and is_literal_string(tstring):
361 self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
368 def __keywordseen(self, ttype, tstring, lineno): argument
369 if ttype == tokenize.OP and tstring == '(':
376 def __openseen(self, ttype, tstring, lineno): argument
377 if ttype == tokenize.OP and tstring == ')':
385 elif ttype == tokenize.STRING and is_literal_string(tstring):
386 self.__data.append(safe_eval(tstring))
393 'token': tstring,