eric7/JediInterface/JediClient.py

branch
eric7
changeset 8609
fd6b68a0a2df
parent 8606
dd9bf9841c50
child 8666
3a62b4009df9
equal deleted inserted replaced
8608:4d4d2ec95dd4 8609:fd6b68a0a2df
330 try: 330 try:
331 assignments = script.goto( 331 assignments = script.goto(
332 line, index, follow_imports=True, follow_builtin_imports=True) 332 line, index, follow_imports=True, follow_builtin_imports=True)
333 for assignment in assignments: 333 for assignment in assignments:
334 if bool(assignment.module_path): 334 if bool(assignment.module_path):
335 # TODO: call __getReferences if
336 # assignment.module_path == filename and
337 # assignment.line == line
338 gotoDefinition = { 335 gotoDefinition = {
339 'ModulePath': str(assignment.module_path), 336 'ModulePath': str(assignment.module_path),
340 'Line': (0 if assignment.line is None else 337 'Line': (0 if assignment.line is None else
341 assignment.line), 338 assignment.line),
342 'Column': assignment.column, 339 'Column': assignment.column,

eric ide

mercurial