Lines Matching refs:cls
79 def __iter__(cls): argument
81 return iter(cls._enums)
235 def lex_interpreted_string(cls, buf, offset): argument
253 match = cls.UNICODE_CHARS_PATTERN.match(buf, pos)
269 if char in cls.OCT_TABLE:
270 literal += chr(cls.decode_oct(buf, pos, pos + 1, pos + 4))
273 literal += chr(cls.decode_hex(buf, pos, pos + 2, pos + 4))
277 cls.decode_hex(buf, pos, pos + 2, pos + 6))
281 cls.decode_hex(buf, pos, pos + 2, pos + 10))
285 literal += cls.ESCAPE_CHAR_TABLE[char]
297 def lex_string(cls, buf, offset): argument
317 return cls.lex_interpreted_string(buf, offset)
348 def lex(cls, buf, offset): argument
361 match = cls.LEXER_MATCHER.match(buf, offset)
364 token = cls.LEXER_PATTERNS[match.lastindex - 1][0]
367 end, literal = cls.lex_string(buf, offset)
782 def find_sub_files_from_env(cls, rootdir, env, use_subdirs, argument
797 subs.extend(cls.glob_sub_files(os.path.join(rootdir, path),
801 subs.extend(cls.glob_sub_files(os.path.join(rootdir, path),