Searched refs:json_loc (Results 1 – 1 of 1) sorted by relevance
51 def __init__(self, json_loc): argument52 logging.debug('json: %s' % json_loc)53 self.line = json_loc['line']54 self.col = json_loc['column']55 self.filename = os.path.basename(json_loc['file']) \56 if 'file' in json_loc else '(main file)'57 self.spelling = SourceLocation(json_loc['spelling']) \58 if 'spelling' in json_loc else None