Lines Matching refs:lang_type
7 from file_types import lang_type, find_files
15 def find_copyright_block(lines, lang_type):
17 if lang_type in ('python', 'make', 'shell', 'perl', 'scons'):
32 elif lang_type in ('lisp', ):
47 elif lang_type in ('C', 'C++', 'swig', 'isa', 'asm', 'slicc',
96 raise AttributeError, "Could not handle language %s" % lang_type
126 def get_data(lang_type, lines):
129 for start,end in find_copyright_block(lines, lang_type):
232 files += [ (base, lang_type(base)) ]
249 lt = lang_type(filename, lines[0])