Lines Matching refs:line
420 # Iterate the header file line-by-line to collect type and class
425 for line in objfile:
426 if (line.startswith('enum InstanceType : uint16_t {')):
430 if (line.startswith('#define TORQUE_ASSIGNED_INSTANCE_TYPE_LIST')):
434 if (line.startswith('#define TORQUE_INSTANCE_CHECKERS_SINGLE_FULLY_DEFINED')):
438 if (in_insttype and line.startswith('};')):
442 if (in_torque_insttype and (not line or line.isspace())):
446 if (in_torque_fulldef and (not line or line.isspace())):
450 pre = line.strip()
451 line = re.sub('// .*', '', line.strip());
454 typestr += line;
458 torque_typestr += line
462 torque_fulldefstr += line
465 uncommented_file += '\n' + line
662 for line in inlfile:
664 # Continuation line
665 for ii in range(0, len(line)):
666 if (line[ii] == '('):
668 elif (line[ii] == ')'):
674 current += line[0:ii + 1];
678 if (not line.startswith(prefix + '(')):
685 for ii in range(len(prefix), len(line)):
686 if (line[ii] == '('):
688 elif (line[ii] == ')'):
694 current += line[0:ii + 1];
714 for line in lines:
715 out.write(line);