Lines Matching refs:line
154 def __init__(self, line, offset, function):
155 self.line = line
162 result += ":%d" % (self.line)
167 result += "() at line:%d, col:%d)" % (self.function.line, self.function.column)
171 return ("Breakpoint(line:%d, offset:%d, active_index:%d)"
172 % (self.line, self.offset, self.active_index))
175 def __init__(self, line=None, source_name=None, function=None):
177 self.line = line
184 if self.line:
185 result += ":%d" % (self.line)
193 def __init__(self, is_func, byte_code_cp, source, source_name, line, column, name, lines, offsets):
201 self.line = line
216 result = ("Function(byte_code_cp:0x%x, source_name:%r, name:%r, line:%d, column:%d { "
217 % (self.byte_code_cp, self.source_name, self.name, self.line, self.column))
612 if (breakpoint.line and existing_bp.source_name == breakpoint.source_name and \
613 existing_bp.line == breakpoint.line) \
614 or (not breakpoint.line and existing_bp.function == breakpoint.function):
842 start = max(last_bp.line - line_num, 0)
843 end = min(last_bp.line + line_num - 1, len(last_bp.function.source))
856 if i == last_bp.line - 1:
870 stack = [{"line": 1,
908 "line": position[0],
924 line = struct.unpack(self.byte_order + self.idx_format,
926 stack[-1][name].append(line[0])
947 func_desc["line"],
984 for line, breakpoint in function.lines.items():
985 self.line_list.insert(line, breakpoint)
999 if breakpoint.line:
1000 if breakpoint.line <= source_lines:
1001 command = breakpoint.source_name + ":" + str(breakpoint.line)
1029 for line, breakpoint in function.lines.items():
1030 self.line_list.delete(line, breakpoint)
1065 line = re.match("(.*):(\\d+)$", string)
1068 if line:
1069 source_name = line.group(1)
1070 new_line = int(line.group(2))
1086 functions_to_enable.sort(key=lambda x: x.line)
1100 if line:
1101 breakpoint = JerryPendingBreakpoint(int(line.group(2)), line.group(1))
1155 return "".join(["%s%s\n" % (log_type, line) for line in lines])
1164 return "".join(["%s%s\n" % (log_type, line) for line in lines])
1256 for line in table:
1258 for i, x in enumerate(line)) + " \n"