OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import collections | 5 import collections |
6 import datetime | 6 import datetime |
7 import logging | 7 import logging |
8 import multiprocessing | 8 import multiprocessing |
9 import os | 9 import os |
10 import posixpath | 10 import posixpath |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 self.source_line = source_line | 458 self.source_line = source_line |
459 # In the case of |inlines|=True, the |inlined_by| points to the outer | 459 # In the case of |inlines|=True, the |inlined_by| points to the outer |
460 # function inlining the current one (and so on, to form a chain). | 460 # function inlining the current one (and so on, to form a chain). |
461 self.inlined_by = None | 461 self.inlined_by = None |
462 self.disambiguated = disambiguated | 462 self.disambiguated = disambiguated |
463 self.was_ambiguous = was_ambiguous | 463 self.was_ambiguous = was_ambiguous |
464 | 464 |
465 def __str__(self): | 465 def __str__(self): |
466 return '%s [%s:%d]' % ( | 466 return '%s [%s:%d]' % ( |
467 self.name or '??', self.source_path or '??', self.source_line or 0) | 467 self.name or '??', self.source_path or '??', self.source_line or 0) |
OLD | NEW |